Created
February 2, 2012 11:17
-
-
Save ahomu/1722961 to your computer and use it in GitHub Desktop.
。
This file contains hidden or 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
[alias] | |
# pretty graph -> http://d.hatena.ne.jp/sugyan/20111103/1320247493 | |
tr = log --graph --pretty='format:%C(yellow)%h%Creset %s %Cgreen(%an)%Creset %Cred%d%Creset' | |
# back correct | |
bc = commit --amend -m | |
# untracked files | |
ut = git ls-files -o --exclude-from=.gitignore | |
# stash | |
s = stash | |
sa = stash apply | |
# branch | |
br = branch | |
# copy branch and checkout | |
cp = checkout -b | |
cd = checkout | |
# merge not fast-foward | |
comb = merge --no-ff | |
# merge squash | |
sq = merge --squash | |
# soft reset | |
back = reset --soft HEAD^ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
薄いよ( ╹◡╹)