Last active
April 3, 2019 10:01
-
-
Save solkar/cc56f361c3dcf0b0fafab5896d9f8238 to your computer and use it in GitHub Desktop.
My gitconfig file
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
[user] | |
name = Karlos Zafra | |
email = [email protected] | |
[alias] | |
amend = !git log -n 1 --pretty=tformat:%s%n%n%b | git commit -F - --amend | |
br = branch | |
co = checkout | |
cob = checkout -b | |
continue = rebase --continue | |
drop = !git stash save --keep-index --include-untracked && git stash drop | |
l = "!source ~/.githelpers && pretty_git_log" | |
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative | |
df = diff | |
commit = ci | |
#fast commits | |
x = commit -m | |
xa = commit -a -m | |
a = add | |
master = checkout master | |
alias = !git config --list | grep 'alias\\.' | sed 's/alias\\.\\([^=]*\\)=\\(.*\\)/\\1\\t=> \\2/' | sort | |
st = status | |
pop = stash pop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
add user