Horje Website
git clean local remote branch Code Example | Shell/Bash
git clean local remote branch
 
  1. git fetch origin --prune
clean local branches git
 
  1. git branch --merged master | grep -v '^[ *]*master$' | xargs git branch -d
Published:
February 26, 2021
Author:
admin
Category:
Live Code, Shell/Bash Code
Views:
22

This article was posted in Live Code, Shell/Bash Code and tagged , , . Bookmark the permalink. Follow comments with the RSS feed for this post.Post a Comment or leave a trackback: Trackback URL.

1 Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

 

Horje © 2011 - 2022