aboutsummaryrefslogtreecommitdiff
path: root/git-workflows
blob: 577833b5f8ba1f889dc69892b93aa52b06f9f5b8 (plain)
1
2
3
4
5
6
7
8
9
10
# Create a fixup commit
git commit --fixup <commit hash>

# Conduct the fixup
# After running this command, the fixup commit will automatically show
# after the commit to fix.
git rebase -i --autosquash <commit hash>

# related config
git config --global rebase.autosquash true