Created
February 21, 2023 15:08
-
-
Save janisozaur/bc29fe1c6f00491435c58759949f4b5d to your computer and use it in GitHub Desktop.
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
lol=log --graph --decorate --pretty=oneline --abbrev-commit --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' | |
loll=log --graph --decorate --pretty=oneline --abbrev-commit --pretty=tformat:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --numstat | |
lola=log --graph --decorate --pretty=oneline --abbrev-commit --all --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' | |
sc=svn dcommit --interactive | |
cp=cherry-pick | |
st=status | |
co=checkout | |
ci=commit | |
ls=log --pretty=format:%C(yellow)%h%Cred%d\ %Creset%s%Cblue\ [%cn] --decorate | |
ll=log --pretty=format:%C(yellow)%h%Cred%d\ %Creset%s%Cblue\ [%cn] --decorate --numstat | |
lnc=log --pretty=format:%h\ %s\ [%cn] | |
fl=log -u | |
dl=!git ll -1 | |
dc=diff --cached | |
f=!git ls-files | grep | |
la=!git config -l | grep alias | cut -c 7- | |
assume=update-index --assume-unchanged | |
unassume=update-index --no-assume-unchanged | |
assumed=!git ls-files -v | grep ^h | cut -c 3- | |
unassumeall=!git assumed | xargs git update-index --no-assume-unchanged | |
assumeall=!git st -s | awk {'print $2'} | xargs git assume | |
cl=clone | |
br=branch | |
top=rev-parse --show-toplevel | |
ct=!cd $(git top) | |
dsf=!f() { [ "$GIT_PREFIX" != "" ] && cd $GIT_PREFIX; git diff --color $@ | diff-so-fancy | less --tabs=4 -RFX; }; f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment