Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

delete branches in bulk git

Type in git branch | grep "<pattern>" for a preview of the branches that will be deleted.
Type in git branch | grep "<pattern>" | xargs git branch -D.
Comment

PREVIOUS NEXT
Code Example
Shell :: bash check if command is available 
Shell :: Docker - Container is not running 
Shell :: multiple ssh key 
Shell :: move all files from one directory to another 
Shell :: loops in shell script 
Shell :: how to rename a file in terminal 
Shell :: uninstall kde 
Shell :: apt get update upgrade linux 
Shell :: list node running 
Shell :: gui for wsl2 ubuntu 
Shell :: letsencrypt wildcard certificate certbot 
Shell :: copy paste in git bash 
Shell :: Kubernetes configuration file is group readable 
Shell :: There is 1 zombie process 
Shell :: git change repo 
Shell :: delete remote commit 
Shell :: laravel 9 
Shell :: git clone to existing folder 
Shell :: open file explorer from cmd 
Shell :: bash for interval 
Shell :: centos curl command 
Shell :: cisco anyconnect download for ubuntu 18.04 
Shell :: where is ubuntu installed in windows 10 
Shell :: xbox 360 wireless adapter linux 
Shell :: wp cli change tagline 
Shell :: git repo example 
Shell :: bash get absolute path 
Shell :: android studio tortoise git 
Shell :: know committed files by author 
Shell :: step5 pgadmin ubuntu 20.04 
ADD CONTENT
Topic
Content
Source link
Name
2+4 =