Last active
April 20, 2023 14:45
-
-
Save dmalberto/539380072de8051f515a6479983054dc to your computer and use it in GitHub Desktop.
.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
[core] | |
filemode = false | |
[user] | |
name = Diego Alberto | |
email = [email protected] | |
[core] | |
filemode = false | |
editor = vim | |
longpaths = true | |
autocrlf = false | |
eol = lf | |
excludesFile = ~/.gitignore | |
[color] | |
ui = auto | |
branch = auto | |
diff = auto | |
interactive = auto | |
status = auto | |
[color "status"] | |
added = green | |
changed = yellow | |
untracked = magenta | |
deleted = red | |
[alias] | |
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all | |
h = "!f() { commits=${1:--20}; git log $commits --branches=* --decorate --oneline --graph --remotes; }; f" | |
l = !git log --pretty=format:'%C(blue)%h%C(red)%d %C(white)%s - %C(cyan)%cn, %C(green)%cr' | |
c = !git add --all && git commit -m | |
s = !git status -s | |
cp = !git cherry-pick | |
rh = !git reset --hards | |
rs = !git reset --soft | |
cm = !git checkout . && git checkout master && git fetch && git pull origin master | |
crm = !git checkout . && git checkout master && git fetch && git reset --hard origin/master | |
fp = !git fetch && git pull | |
[http] | |
sslVerify = false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment