Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git delete merged branches

git branch --merged | egrep -v "(^*|master|dev)" | xargs git branch -d
Comment

delete local branches that have been merged

# delete all merged branches (excludes master main and anything containing dev)

git branch --merged | egrep -v "(^*|master|main|dev)" | xargs git branch -d
Comment

PREVIOUS NEXT
Code Example
Shell :: create tar gz file from directory 
Shell :: pitivi download ubuntu 
Shell :: is firewall running centos 7 
Shell :: linux give all files an extension 
Shell :: embed a youtube video in github readme 
Shell :: kill nohup process 
Shell :: git check first commit 
Shell :: command to check what version of django is installed 
Shell :: uninstall cheese ubuntu 20.04 
Shell :: get remote IP of wsl ubuntu 
Shell :: ubuntu install zsh 
Shell :: ubuntu gpg 2 
Shell :: install libinput ubuntu 
Shell :: hard reset git branch 
Shell :: how to kill linux screen 
Shell :: git clone --recurse-submodules 
Shell :: how to start xampp in ubuntu 
Shell :: invalid or corrupted database (pgp signature) 
Shell :: certbot get new certificate apache 
Shell :: linux run command in loop 
Shell :: bash add text to the beginning or end of every line 
Shell :: zip not found 
Shell :: get wifi password windows 10 
Shell :: show all running service linux 
Shell :: how to install pgzrun 
Shell :: install brave in ubuntu 
Shell :: install deb package 
Shell :: powershell if string contains 
Shell :: set remote url git 
Shell :: busy port 
ADD CONTENT
Topic
Content
Source link
Name
8+6 =