Skip to content

Instantly share code, notes, and snippets.

@konitter
Last active December 17, 2015 03:39
Show Gist options
  • Save konitter/5545111 to your computer and use it in GitHub Desktop.
Save konitter/5545111 to your computer and use it in GitHub Desktop.
Git Files
[user]
name = konitter
email = [email protected]
[color]
ui = auto
[core]
quotepath = false
excludesfile = ~/.gitignore
[format]
pretty = "%h %s (%an)"
[alias]
ci = commit
cia = commit -a
bc = commit --amend -m
co = checkout
cb = checkout -b
st = status
di = diff
sh = show
br = branch
bra = branch -a
la = log --oneline
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
cancel = !git commit -a -m 'Temporary commit for cancel' && git reset --hard HEAD~
tr = log --graph --pretty='format:%C(yellow)%h%Creset %s %Cgreen(%an)%Creset %Cred%d%Creset'
ut = git ls-files -o --exclude-from=.gitignore
comb = merge --no-ff
sq = merge --squash
back = reset --soft HEAD^
p = !git push origin `git rev-parse --abbrev-ref HEAD`
[i18n]
commitencoding = UTF-8
# git config --global --add core.excludesfile "$HOME/.gitignore"
.DS_Store
node_modules/
*.sublime-project
*.sublime-workspace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment