Last active
August 16, 2016 09:28
-
-
Save xecutioner/2efb48838e5e2661cf33 to your computer and use it in GitHub Desktop.
git tricks
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
Remove merged branch | |
git branch --merged | grep -v "\*" | grep -v master | grep -v dev | xargs -n 1 git branch -d | |
Git log of code snippet | |
git log -S'the line from your file' -- path/to/your/file.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you