Skip to content

Instantly share code, notes, and snippets.

@MickaelBergem

MickaelBergem/.gitconfig

Last active Oct 30, 2015
Embed
What would you like to do?
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
You can’t perform that action at this time.