Skip to content

Instantly share code, notes, and snippets.

@miguelgonz
Created February 20, 2014 10:31
Show Gist options
  • Save miguelgonz/9110841 to your computer and use it in GitHub Desktop.
Save miguelgonz/9110841 to your computer and use it in GitHub Desktop.
Git config stuff

Quick fix ups

[alias]
  fixup = commit --amend -C HEAD

Automatically rebase the current stages changes into your last commit. For quick fixes when you don't want to create new commits, you can just do that instead of git rebase -i HEAD~2 and mark the last commit as fixup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment