Skip to content

Instantly share code, notes, and snippets.

@PatrickVienne
Created September 17, 2023 18:22
Show Gist options
  • Save PatrickVienne/464085b6513895a8d4cc1fff42c42b61 to your computer and use it in GitHub Desktop.
Save PatrickVienne/464085b6513895a8d4cc1fff42c42b61 to your computer and use it in GitHub Desktop.
[user]
email = [email protected]
name = PatrickVienne
[push]
default = upstream
[core]
trustctime = false
editor = vim
autocrlf = input
filemode = false
[color]
ui = true
[credential]
helper = cache --timeout=3600
[merge]
tool = vimdiff
[mergetool]
keeptemporaries = false
keepbackups = false
prompt = false
trustexitcode = false
[alias]
last = log -1 --stat
cp = cherry-pick
co = checkout
cl = clone
ci = commit
st = status -sb
br = branch
unstage = reset HEAD --
dc = diff --cached
lg1 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all
lg = !"git lg1"
[filter "lfs"]
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
[credential "https://gitlab.com"]
provider = generic
[difftool "sourcetree"]
cmd = '' \"$LOCAL\" \"$REMOTE\"
[mergetool "sourcetree"]
cmd = "'' "
trustExitCode = true
[url "https://github.com/"]
insteadOf = git://github.com/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment