Skip to content

Instantly share code, notes, and snippets.

@raymzag
Last active October 4, 2019 12:44
Show Gist options
  • Save raymzag/e86d8e12dada99a9b510cb7514541986 to your computer and use it in GitHub Desktop.
Save raymzag/e86d8e12dada99a9b510cb7514541986 to your computer and use it in GitHub Desktop.
My git config file
[user]
name =
email =
github = raymzag
[push]
default = current
[credential]
helper = osxkeychain
[color]
ui = always
[color "branch"]
current = green reverse
local = green
remote = yellow
[color "status"]
added = green
changed = yellow
untracked = red
[core]
editor = vim
excludesfile = ~/.gitignore_global
[rerere]
enabled = false
[pull]
rebase = false
[commit]
template = ~/.gitmessage.txt
[alias]
s = status
sha = rev-parse HEAD
last = log -1 HEAD --oneline --decorate
ll = log --oneline --decorate
set-master = branch --set-upstream-to=origin/master master
back = reset --soft HEAD~1
again = commit -c ORIG_HEAD
set-deploy = =
co = checkout
bs = branch -v
rs = remote -v
ci = commit
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment