Skip to content

Instantly share code, notes, and snippets.

@fdanielsen
Created July 13, 2012 08:18
Show Gist options
  • Save fdanielsen/3103580 to your computer and use it in GitHub Desktop.
Save fdanielsen/3103580 to your computer and use it in GitHub Desktop.
Git config with useful aliases and settings
[core]
excludesfile = ~/.gitignore
[alias]
s = status
m = merge --no-ff --no-commit
co = checkout
ci = commit
rb = rebase
sync = !git pull --rebase && git push
com = !git add . && git commit -am
[push]
default = upstream
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment