Skip to content

Instantly share code, notes, and snippets.

@keithmgould
Created March 28, 2018 17:06
Show Gist options
  • Save keithmgould/56ae4071a6df8cfe879e974b2504ceea to your computer and use it in GitHub Desktop.
Save keithmgould/56ae4071a6df8cfe879e974b2504ceea to your computer and use it in GitHub Desktop.
little git config file for raspberry pi
[user]
name = Keith Gould
email = keithmgould@gmail.com
[core]
excludesfile = ~/.gitignore_global
[credential]
helper = osxkeychain
[alias]
b = branch
c = commit
co = checkout
com = checkout master
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
pom = push origin master
po = push origin
prom = pull --rebase origin master
rem = rebase master
rh = reset HEAD~1
s = status
st = status
wip = commit -m"WIP"
f = fetch
[rerere]
enabled = true
[color]
ui = true
[push]
default = simple
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment