Skip to content

Instantly share code, notes, and snippets.

@anthony-c-martin
Last active December 15, 2020 18:24
Show Gist options
  • Save anthony-c-martin/ff11d45b6d5846e340360a015aaa2aec to your computer and use it in GitHub Desktop.
Save anthony-c-martin/ff11d45b6d5846e340360a015aaa2aec to your computer and use it in GitHub Desktop.
My .gitconfig
[alias]
lg = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) %C(white)%s%C(reset) %C(bold red)%an%C(reset) %C(bold green)%D%C(reset)' --branches
lga = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) %C(white)%s%C(reset) %C(bold red)%an%C(reset) %C(bold green)%D%C(reset)' --all
[core]
autocrlf = true
editor = code --wait
[user]
name = Anthony Martin
email = anthony.ct.martin@gmail.com
[pull]
rebase = true
[diff]
tool = vscode
[difftool "vscode"]
cmd = code --wait --diff $LOCAL $REMOTE
[merge]
tool = vscode
[mergetool "vscode"]
cmd = code --wait $MERGED
[mergetool]
keepBackup = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment