Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
kevinmcconnell
on April 6, 2015
|
parent
|
context
|
favorite
| on:
Ten Years of Git: An Interview with Linus Torvalds
For quick changes to the most recent commit, a handy alias to put in your ~/.gitconfig is:
fixup = commit --amend -C HEAD
That way you can stage whatever you forgot, and then do `git fixup` to update the latest commit with it. Saves a little bit of typing :)
I do love `rebase -i` for anything more complicated though.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
I do love `rebase -i` for anything more complicated though.