News for hackers. Stuff that matters.
Re:Git koans by pilgrim689 on Monday April 08, 2013 @11:07AM (#5512119)
> pull = pull --ff-only

From "git --help config": "To avoid confusion and troubles with script usage, aliases that hide existing git commands are ignored."

> “Use git checkout.”

This is just a jab at how "checkout" does too many different things.

> “I have a historical record of a merge commit with two parents. How can I find out which branch each parent was originally made on?”

Git doesn't let you do this.

> “Surely some of these could be made more consistent, so as to be easier to remember in the heat of coding?”

Git commands can be inconsistent.

> “git -h branch“.

This command tells you nothing about "branch" (throws error), whereas "git --help branch" launches the browser at git-branch's manpage. This goes against what people usually expect (that "-h" is just shorthand for "--help".

Re:Git koans by kzrdude on Monday April 08, 2013 @11:43AM (#5512394)
But you should recommend 'git help', i.e. the help subcommand, since that's what git refers to on its own.