Last active
July 31, 2019 03:56
-
-
Save navkast/6d1ec3105fd80d5ea5af9271c875a8c8 to your computer and use it in GitHub Desktop.
Git aliases
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
[alias] | |
list-alias = "!git config -l | grep alias | cut -c 7-" | |
lds = log --graph --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cred\\ [%an]" --decorate --date=short | |
delete-merged-branches = "!f() { git branch --merged ${1-master} | grep -v " ${1-master}$" | xargs git branch -d; }; f" | |
puush = "!f() { git symbolic-ref --short -q HEAD | xargs git push -u origin ; }; f" | |
logg = log --graph --decorate --pretty=short |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment