Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

"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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: