News for hackers. Stuff that matters.
Re:Understanding the Git Workflow by alunny on Sunday July 31, 2011 @12:18PM (#2828659)
For very short, "oh there's a syntax error I missed" commits, "commit --amend" is very useful, and quicker than "rebase -i".
Re:Understanding the Git Workflow by daemin on Sunday July 31, 2011 @08:34PM (#2830162)
"git commit --amend" is very useful if you realise you forgot to include some files in the last commit.

Although if you committed since then you might be better off adding a new commit with the missing files and then doing a "git rebase -i" to move and squash the commits as appropriate.

Re:Understanding the Git Workflow by mark_story on Sunday July 31, 2011 @08:33PM (#2830160)
For the extra lazy, you can use git aliases to make `git amend` or `git ca`.