Last active
July 20, 2019 21:50
-
-
Save ggsalas/c19160e1025bc9df7f9f1b8d50b72d68 to your computer and use it in GitHub Desktop.
My ~/.gitconfig
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is Git's per-user configuration file. | |
[user] | |
# Please adapt and uncomment the following lines: | |
name = Gabriel Salas | |
email = [email protected] | |
[alias] | |
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative | |
dt = difftool | |
ch = checkout | |
br = branch | |
co = commit -m | |
st = status -s | |
cp = cherry-pick | |
ls = log --pretty=format:"%C(green)%h\\ %C(yellow)[%ad]%Cred%d\\ %Creset%s%C(magenta)\\ [%an]" --decorate --date=relative | |
ll = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%C(magenta)\\ [a:%an,c:%cn]" --decorate --numstat | |
[github] | |
user = ggsalas | |
[core] | |
editor = nvim | |
[diff] | |
tool = vimdiff | |
[difftool "vimdiff"] | |
cmd = nvim -d ~/.vimrc \"$LOCAL\" \"$REMOTE\" | |
[mergetool "vimdiff"] | |
cmd = nvim -d \"$MERGED\" \"$REMOTE\" | |
; cmd = nvim -d \"$BASE\" \"$LOCAL\" \"$REMOTE\" \"$MERGED\" | |
[difftool] | |
prompt = true | |
[merge] | |
tool = vimdiff | |
[mergetool] | |
path = nvim | |
keepBackup = false | |
[mergetool "vimdiff"] | |
path = nvim | |
[filter "lfs"] | |
clean = git-lfs clean -- %f | |
smudge = git-lfs smudge -- %f | |
process = git-lfs filter-process | |
required = true | |
[color "status"] | |
added = green | |
changed = red | |
untracked = blue | |
deleted = red |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment