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 :: see changes to be pushed git 
Shell :: start docker in fedora 
Shell :: reload bashrc linux 
Shell :: npm history react install command 
Shell :: navigate to drive d cmd 
Shell :: how to restart network manager in kali 
Shell :: git stash apply specific stash 
Shell :: linux screen run jar 
Shell :: zsh: command not found: julia 
Shell :: Unit nginx.service is masked 
Shell :: ubuntu install java 16 
Shell :: run sh from terminal mac 
Shell :: git reset file 
Shell :: angular cli add ssl certificate 
Shell :: how to install crome linux 
Shell :: check space left in ubuntu terminal 
Shell :: awk sum column 
Shell :: install postgres ubuntu 
Shell :: print env variables 
Shell :: flutter doctor android studio not installed 
Shell :: bash add new line to crontab 
Shell :: git delete unstaged files 
Shell :: get total file size linux 
Shell :: Install ansible in alpine linux 
Shell :: poython opencv pip 
Shell :: how to remove a directory in git 
Shell :: how to remove untracked files in git 
Shell :: windows terminal starting directory 
Shell :: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX 
Shell :: git fatal pack has bad object at offset 
ADD CONTENT
Topic
Content
Source link
Name
2+5 =