Skip to content

Instantly share code, notes, and snippets.

@aburaihan-dev
Forked from ronokdev/GIT fixup
Created July 25, 2018 12:21
Show Gist options
  • Save aburaihan-dev/398168b32638ece5070edfc373007cc1 to your computer and use it in GitHub Desktop.
Save aburaihan-dev/398168b32638ece5070edfc373007cc1 to your computer and use it in GitHub Desktop.
GIT fixup
::: command → git commit --fixup commit
::: Example ::
IF git log output is ::
commit 654
Author: test <test.test@test.com>
Date: Wed Jul 18 12:25:50 2018 +0600
[test] test
commit 653
Author: test <test.test@test.com>
Date: Tue Jul 17 12:07:20 2018 +0600
[test] test
::: if commit 654 is just a fixup for commit 653 then the fixup command will be like bolow →
→ git commit --fixup commit 653
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment