Joined June 2023
·

lauraskey

Software Engineer at T-Mobile
·
Remote
·

here are some git bash aliases if anyone needs them, adjusted to work as an aliases
alias removelocaldry='function _removelocaldry(){ git branch -r | awk "{print \$${1:-1}}" | egrep -v -f /dev/fd/0 <(git branch -vv | grep origin) | awk "{print \$${1:-1}}"; }; _removelocaldry'
alias removelocal='function _removelocal(){ git branch -r | awk "{print \$${1:-1}}" | egrep -v -f /dev/fd/0 <(git branch -vv | grep origin) | awk "{print \$${1:-1}}" | xargs git branch -D; }; _removelocal'

This is very helpful, but I am getting this error. error: The branch 'feature/lskey-V2.14.4.6' is not fully merged, I had to change the -d to a force drop -D

Achievements
1 Karma
0 Total ProTip Views