Gazler / githug

Git your game on!
MIT License
6.86k stars 1.03k forks source link

rename_commit.rb: clarify meaning of 'first' commit #103

Closed rjw57 closed 11 years ago

rjw57 commented 11 years ago

The wording of the challenge suggests that one needs to amend the commit that one would get from the following command:

$ git rev-list HEAD | tail -1

i.e. the first commit which was made. The "first" commit this level talks about is, to my mind, the second commit.

After a degree of Googling, I found the magic incantation to amend the root commit. This is non-trivial with git rebase. Admittedly I should've checked which commit actually had the typo but this problem would've been avoided all together had the challenge been clearer.

Gazler commented 11 years ago

Thanks.