Last active
June 20, 2019 08:30
-
-
Save loick/9eff75b8d12696ef8a7a2e7970d27dcf to your computer and use it in GitHub Desktop.
Git config
This file contains 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
[core] | |
repositoryformatversion = 0 | |
filemode = true | |
bare = false | |
logallrefupdates = true | |
editor = vim | |
[user] | |
name = Loick Le Digabel | |
email = loick.ledigabel@gmail.com | |
[rerere] | |
enabled = true | |
[alias] | |
wh = !git ls-files | grep -i | |
st = status | |
co = checkout | |
cp = cherry-pick | |
root = checkout master | |
ba = branch -v -a | |
pushf = push --force-with-lease | |
del = branch -D | |
blog = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)%Creset' --abbrev-commit | |
slog = log --pretty=oneline --abbrev-commit | |
nlog = log --name-status | |
dlog = log -p | |
ru = remote update | |
ci = commit -va | |
fix = commit --amend | |
br = branch -v | |
rw = reset --hard | |
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short | |
squash = !git rebase -i `$(git merge-base origin/master HEAD)` | |
stats = !git diff origin/master..`$(git rev-parse --symbolic-full-name --abbrev-ref HEAD)` --shortstat | |
rb = !git fetch -p && git rebase origin/master | |
rbc = !git rebase --continue | |
rbs = !git rebase --skip | |
rba = !git rebase --abort | |
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%C(bold blue)<%an>%Creset' --abbrev-commit | |
[color] | |
ui = auto | |
[merge] | |
summary = true | |
[push] | |
default = current |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment