News for hackers. Stuff that matters.
Re:What's New in Mercurial 3.0 by gecko on Tuesday April 29, 2014 @10:20PM (#7671221)
Interesting you should mention "git reset", because, depending on the options you give it, it either:

  * reverts one file
  * reverts all files
  * removes changes from the index, but doesn't otherwise change anything at all
  * moves your branch, without changing any files
  * moves your branch and changes all files
This rather makes my point.

"git checkout -b", meanwhile, is not a shorthand for "git branch something", but rather "git branch --track something origin/something", unless there is no "origin/something", in which case you are again correct.

There are no comments on this comment yet.