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

I've set up an alias for `commit --amend --no-edit`, this way merging new stuff into a commit is easy, and editing the commit message is just a `-e` away (`-e` flips `--no-edit` back on).

The only concern is the odd situation where I'd staged something before realising I was missing bits in the commit message.



i love those in alias, gca, gcane.

Then when pair programming I can say "Time to pull out the G-Cane"




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

Search: