Skip to content

Instantly share code, notes, and snippets.

Vitaliy Zasadnyy zasadnyy

Block or report user

Report or block zasadnyy

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
bxt /
Last active Mar 21, 2019
Git Delete Merged Branches
BRANCHES=$(git branch --merged $MAIN | grep -v -e 'master\|staging\|development\|\*')
echo Branches merged into $MAIN:
read -p "Delete these branches (y/n)? " answer
You can’t perform that action at this time.