Skip to content

Instantly share code, notes, and snippets.

@ronokdev
Last active July 25, 2018 12:21
Show Gist options
  • Save ronokdev/8890609f7735749466bcc283f002aeb2 to your computer and use it in GitHub Desktop.
Save ronokdev/8890609f7735749466bcc283f002aeb2 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