Created
October 17, 2013 15:03
-
-
Save wolffc/7026542 to your computer and use it in GitHub Desktop.
git Config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[gui] | |
[user] | |
name = Christian Wolff | |
email = [email protected] | |
[gui] | |
encoding = utf-8 | |
[core] | |
excludesfile = ~/.gitignore_global | |
[alias] | |
# commit with message | |
c = commit -m | |
## Ammend the last commit | |
ca = commit --amend | |
# add | |
a = add | |
# add all | |
aa= !git add -u && git add . && git status | |
# checkout Branch | |
cob = checkout -b | |
# get upstream | |
up = !git fetch origin && git rebase origin/master | |
# Interactive Rebase | |
ir = !git rebase -i origin/master | |
# rebase local , Merges a local branch to the local master | |
rbl = !git rebase master && git checkout master && git merge @{-1} | |
# Done get Upstream, Rebase and Push | |
done = !git fetch && git rebase origin/master && git checkout master && git merge @{-1} && git push | |
[push] | |
default = upstream |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment