Skip to content

Instantly share code, notes, and snippets.

@wmudge
Last active March 15, 2023 21:33
Show Gist options
  • Save wmudge/1bc7c484f41c8bce08445238faae2b07 to your computer and use it in GitHub Desktop.
Save wmudge/1bc7c484f41c8bce08445238faae2b07 to your computer and use it in GitHub Desktop.
Git
[alias]
hist = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
resign = "!re() { git rebase --exec 'git commit --amend --no-edit -n -S' -i $1; }; re"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment