Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@MickaelBergem
Last active October 30, 2015 13:10
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MickaelBergem/a7792aa6e292de90c551 to your computer and use it in GitHub Desktop.
Save MickaelBergem/a7792aa6e292de90c551 to your computer and use it in GitHub Desktop.
GitConfig Dotfiles
[user]
name = ..
email = ..
[core]
editor = nano
excludesfile = ~/.gitexcludes
[push]
default = current
[pull]
default = current
[alias]
st = status
lg = log -M --decorate --graph --oneline
ci = commit
co = checkout
br = branch
pur = pull --rebase
pr = !git push -u && hub pull-request
oops = !git add -p && git commit --amend && git push --force
force = !git commit --amend --no-edit && git push --force
wip = !git commit --all -m "[WIP]"
oups = !git add -p && git commit --amend && git push --force
chapi = stash
chapo = stash pop
master = !git co master && git pull
menage = !git remote prune origin && git branch --merged | grep -v \"\\*\" | xargs -n 1 git branch -d
ccrv = !git chapi && git review && git chapo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment