Last active
December 3, 2017 12:15
-
-
Save rubencaro/a4e48b691ed377f14b19 to your computer and use it in GitHub Desktop.
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
[user] | |
name = Rubén Caro | |
email = ruben.caro.estevez@gmail.com | |
[alias] | |
co = checkout | |
lol = log --graph --decorate --pretty=oneline --abbrev-commit | |
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all | |
lolas = log --graph --decorate --abbrev-commit --all --date=short --format=format:'%C(yellow)%h %Cgreen%an %Cblue%ad %Cred%d %Creset%s' | |
a = !bash -c 'git add --all . && git diff HEAD' - | |
c = commit -am | |
p = pull --rebase | |
st = status | |
br = branch | |
df = diff | |
common-ancestor = !bash -c 'diff --old-line-format='' --new-line-format='' <(git rev-list --first-parent "${1:-master}") <(git rev-list --first-parent "${2:-HEAD}") | head -1' - | |
[color] | |
diff = auto | |
status = auto | |
branch = auto | |
ui = auto | |
[push] | |
default = matching | |
[core] | |
editor = vim | |
pager = less -R | |
[mergetool] | |
keepBackup = false | |
[url "git@github.com:"] | |
insteadOf = https://github.com/ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment