On 8 February 2013 02:13, Johnneylee Rollins [email protected] wrote:
Also, if it’s the previous commit you can use git commit --amend
But I recommend only to amend the previous commit if you are certain
that nothing has happened in between. For example if you have pushed
to the master repository and then amend you may run into problems. It
is ok if you commit, realise almost immediately that you missed
something and so amend it, but for anything else do another commit.