Created
February 8, 2018 11:23
-
-
Save marydn/4185b5916a7890c8d7e543f8584857ad to your computer and use it in GitHub Desktop.
GIT aliases
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
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit -- | |
count-month = shortlog -sne --since="01 Jan 2018" --before="31 Dec 2018" | |
yolo = !git add -A && git commit -m \"$(curl -s whatthecommit.com/index.txt)\" | |
clean-local-branches = branch --merged | egrep -v \"(^\\*|master|dev)\" | xargs git branch -d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment