Created
January 19, 2020 03:39
-
-
Save bigfang/b3ac48c0471e090d5d7f72d8e9ba51a7 to your computer and use it in GitHub Desktop.
Revisions
-
bigfang created this gist
Jan 19, 2020 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ git config --global alias.co checkout git config --global alias.br branch git config --global alias.ci commit git config --global alias.st status git config --global alias.ss stash git config --global alias.sp "stash pop" git config --global alias.sl "stash list" git config --global alias.sa "stash apply" git config --global alias.cp cherry-pick git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit" git config --global alias.c1 "checkout HEAD^" git config --global alias.r1 "reset HEAD^"