Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git clean local branches

git branch -r | awk '{print $1}' | egrep -v -f /dev/fd/0 <(git branch -vv | grep origin) | awk '{print $1}' | xargs git branch -d
Comment

git clear local branch list

$ git branch -r --merged | egrep -v "(^*|master|dev)" | xargs -n 1 git push --delete origin
Comment

PREVIOUS NEXT
Code Example
Shell :: grep third match 
Shell :: curl cookie get 
Shell :: make diff git as commit 
Shell :: git diff no context 
Shell :: connect different volumes docker container 
Shell :: git submodule update init no url found 
Shell :: chmod 400 command meaning 
Shell :: linux ssh 
Shell :: gitlab clone branch 
Shell :: How to show date and complete time on the Ubuntu Top Panel 
Shell :: linux cli chart real time 
Shell :: not able to start conda navigator ubuntu 18.04 
Shell :: ./utserver: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory 
Shell :: running kubernetes dasboard 
Shell :: android connect your phone via usb on linux - adb devices 
Shell :: kali virtualbox guest additions check version 
Shell :: install scrcpy in ubuntu 
Shell :: dpkg: command not found 
Shell :: Optimize images like Photoshop Bulk 
Shell :: creating splash screen for nativescript 
Shell :: download pgadmin 4 ubuntu 
Shell :: find command absolute path 
Shell :: how to skip .pyc file adding into github repository 
Shell :: github portfolio 
Shell :: command to upgrade broken/not upgraded packages on Ubuntu 
Shell :: recover a merged commit git 
Shell :: powershell get disk space remote computer 
Shell :: i get your branch is ahead of master after I pulled from remote master 
Shell :: how to delete github repo 
Shell :: cs50 
ADD CONTENT
Topic
Content
Source link
Name
8+4 =