开发者

What does M mean in Mercurial's hg status output

开发者 https://www.devze.com 2023-03-08 21:04 出处:网络
I\'m using Mercurial and I开发者_StackOverflow中文版\'ve modified a file in my local computer. hg status returns

I'm using Mercurial and I开发者_StackOverflow中文版've modified a file in my local computer. hg status returns

M settings.py

But now I don't want to commit changes and I want to take back my file before last changes. How can I do it?


You can use hg update -C to update all tracked files to the working branch.

If you only want to revert a specific file use hg revert filename

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号