Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git delete all merged branches

# Add this to your alias in .bashrc or .zshrc
# then run git-removed-merged-branches

alias git-removed-merged-branches="git branch --merged | egrep -v '(^*|master|dev)' | xargs git branch -d"
Comment

delete all merged branches

git branch --merged master | grep -v '^[ *]*master$' | xargs git branch -d
Comment

PREVIOUS NEXT
Code Example
Shell :: rename all files in a folder with progressive numbers linux 
Shell :: remove a directory 
Shell :: download torrent magnet on linux 
Shell :: sourcetree change commit message 
Shell :: stress test cpu linux 
Shell :: expo channels list 
Shell :: leap year bash shell 
Shell :: how to take a screenshot gnome 
Shell :: volume buttons not working ubuntu 18.04 
Shell :: how to turn on hotspot on windows 10 
Shell :: ubuntu cmd time 
Shell :: install sweetlalert angular 
Shell :: install discord fedora 
Shell :: how to install packages from github in flutter 
Shell :: how to install pycharm on ubuntu 
Shell :: get size of image linux 
Shell :: linux run background 
Shell :: hydra use find password cracker 
Shell :: ubuntu echo create file readme.md 
Shell :: how to install gnu lib tool 
Shell :: uninstall node 
Shell :: how to revert to a specific commit 
Shell :: windows install httpie 
Shell :: git switch vs checkout 
Shell :: git upload folder 
Shell :: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root? 
Shell :: unable to locate package ubuntu 
Shell :: how to get file manager in vestacp 
Shell :: linux umount command 
Shell :: nano for windows 
ADD CONTENT
Topic
Content
Source link
Name
7+8 =