25th June, 2024
My common git commands
Removing old local branches
git branch --no-merged | egrep -v "(^\*|[main]|[develop])" | xargs git branch -d -D
git fetch origin --prune
25th June, 2024
git branch --no-merged | egrep -v "(^\*|[main]|[develop])" | xargs git branch -d -D
git fetch origin --prune