Skip to content

Instantly share code, notes, and snippets.

@papilip
Last active May 23, 2020 12:41
Show Gist options
  • Save papilip/c7f6c8fc5606d1d8d33a to your computer and use it in GitHub Desktop.
Save papilip/c7f6c8fc5606d1d8d33a to your computer and use it in GitHub Desktop.
Papilip gitconfig
[user]
name = Mon nom ou pseudo
email = [email protected]
[alias]
a = add
b = branch
c = clone
d = diff
f = fetch
m = merge
p = push
t = log --graph --date=relative --pretty=format:'%Cred%h8%Creset - %s %C(blue)(%cr)%Creset %C(green)%cn%Creset %C(yellow)%d%Creset' --all
w = flow
ci = commit
co = checkout
cp = cherry-pick
dc = diff --cached
pl = pull
rb = rebase
st = status --short --branch
tt = log --graph --pretty=format:'%s' --all
sh = stash
sha = stash apply
shb = stash branch
shc = stash clear
shd = stash drop
shl = stash list
shp = stash pop
shs = stash show
cam = commit --amend --reuse-message=HEAD
sta = stash -u
last = log --graph --pretty=format:'%Cred%h%Creset - %s %C(blue)(%cr)%Creset %C(green)%cn%Creset %C(yellow)%d%Creset' -1 HEAD
lastt = log --graph --pretty=format:'%Cred%h%Creset - %s %C(blue)(%cr)%Creset %C(green)%cn%Creset %C(yellow)%d%Creset' --abbrev-commit -1 HEAD
tree = log --graph --pretty=format:'%Cred%h%Creset - %s %C(blue)(%cr)%Creset %C(green)%cn%Creset %C(yellow)%d%Creset' --all
poop = stash pop
tp-svn = log --graph --pretty=format:'%Cred%h%Creset - %s %C(blue)(%cr)%Creset %C(green)%cn%Creset %C(yellow)%d%Creset' git-svn..master
unadd = rm --cached
unpushed = log --graph --pretty=format:'%Cred%h%Creset - %s %C(blue)(%cr)%Creset %C(green)%cn%Creset %C(yellow)%d%Creset' origin/master..master
unstage = reset HEAD --
[branch]
autosetuprebase = always
[color]
ui = true
[core]
autocrlf = input
editor = vim
excludesfile = ~/.gitignore
pager = less -FRSX
[diff]
# tool = mon_outil_de_diff
[difftool]
prompt = false
[mergetool]
prompt = false
[push]
default = simple
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment