Skip to content

Instantly share code, notes, and snippets.

@simesy
Last active January 15, 2020 22:43
Show Gist options
  • Save simesy/e334f9461b3c5cd993d796355dbe3585 to your computer and use it in GitHub Desktop.
Save simesy/e334f9461b3c5cd993d796355dbe3585 to your computer and use it in GitHub Desktop.
git config stuff
[alias]
co = checkout
br = branch
ci = commit
cp = cherry-pick
st = status
cor = !sh -c 'git fetch $1 $2 && git checkout $2' -
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
pushset = push --set-upstream origin
[core]
excludesfile = /Users/si/.gitignore
# fileMode = false
editor = "nano"
autocrlf = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment