aboutsummaryrefslogtreecommitdiff
path: root/git.cheat
blob: 07c288f96abf55b54b37077cf93acc5d7de194a8 (plain)
1
2
3
4
5
6
7
8
9
% git

# Fixup commit
git commit --fixup <commit_id>

# Rebase
git rebase -i <commit_id>

$ commit_id: git log --pretty=reference --- --column 1 --delimiter '\s'