Skip to content

Instantly share code, notes, and snippets.

@solkar
Last active April 3, 2019 10:01
Show Gist options
  • Save solkar/cc56f361c3dcf0b0fafab5896d9f8238 to your computer and use it in GitHub Desktop.
Save solkar/cc56f361c3dcf0b0fafab5896d9f8238 to your computer and use it in GitHub Desktop.
My gitconfig file
[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
@solkar
Copy link
Author

solkar commented May 14, 2017

add user

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment