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
Find list of files that contain a certain value: grep -iRl “value here“ ./ | |
Delete all branches that start with a certain prefix: git branch | grep "value here" | xargs git branch -D | |
alias gco='command git checkout' | |
gcot() { | |
cd "workspace" | |
git branch | grep "$1" | xargs git checkout | |
} |