Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
…ommit The old method made no sense; it gave unreadable commit messages, an endless stream of the same messages. This way it is much more clear what has been going on.
Otherwise the next commit that uses HEAD can fail on empty repositories. Git has a lot of trouble with empty repositories in general, so lets just make sure that is never the case.
This happens if people commit something, and revert it after.