Created
February 14, 2019 13:27
-
-
Save kenvac/1128fc765ccb7c299ab0dbc669669120 to your computer and use it in GitHub Desktop.
Git Commands
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
========== Delete all merged local branches ========== | |
# Courtesy: https://stackoverflow.com/questions/6127328/how-can-i-delete-all-git-branches-which-have-been-merged | |
git branch --merged | egrep -v "(^\*|master|dev)" | xargs git branch -d | |
==========Oneline log decorate with stat ========== | |
git log --decorate --stat --oneline |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment