Closed penx closed 1 month ago
code ~/.zshrc
export PATH=$HOME/bin:/usr/local/bin:$PATH
mkdir ~/bin
code ~/bin/gitclean
#!/bin/sh git fetch -p && for branch in $(git branch -vv | grep ': gone]' | awk '{print $1}'); do git branch -D $branch; done
chmod +x ~/bin/gitclean
Find a secure way to sync these
code ~/.zshrc
export PATH=$HOME/bin:/usr/local/bin:$PATH
mkdir ~/bin
code ~/bin/gitclean
chmod +x ~/bin/gitclean
Find a secure way to sync these