Skip to content

Instantly share code, notes, and snippets.

@fmartins-andre
Last active June 6, 2024 20:51
Show Gist options
  • Save fmartins-andre/ec68a4fccd8431a1a2e20083cf92f1db to your computer and use it in GitHub Desktop.
Save fmartins-andre/ec68a4fccd8431a1a2e20083cf92f1db to your computer and use it in GitHub Desktop.
Git global config file
[user]
signingkey = CASDF9879ASDF
name = Me
email = [email protected]
[gpg]
program = gpg
[core]
editor = vim
[diff]
tool = meld
[merge]
tool = meld
[mergetool "meld"]
path = /usr/bin/meld
[difftool "meld"]
path = /usr/bin/meld
[alias]
l = !git log --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
reset-current = !git reset --hard @{u}
[init]
defaultBranch = main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment