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
#!/bin/bash | |
if [ ! -d ".git" ]; then | |
echo "Not a git Directory" | |
exit 1 | |
fi | |
function getStashesToRemove { | |
git stash list | while read -r line; | |
do | |
read -p "remove branch: $line (y/N)?" answer </dev/tty; |
OlderNewer