Horje
git clean local branches Code Example
git clean local remote branch
git fetch origin --prune
clean local branches git
git branch --merged master | grep -v '^[ *]*master$' | xargs git branch -d
git clean branches
git checkout main
git branch -D $(git branch | grep -v 'main') # delete all local but main
git fetch # fetch from origin
git remote prune origin # delete non-existent remote branches
git pull # get to latest on main
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




Whatever

Related
bootstrap z-index Code Example bootstrap z-index Code Example
activate virtual environment in windows Code Example activate virtual environment in windows Code Example
unix timestamp postgres Code Example unix timestamp postgres Code Example
git delete pruned branches Code Example git delete pruned branches Code Example
Connection could not be established with host smtp.mailtrap.io :stream_socket_client(): Unable to connect to tcp://smtp.mailtrap.io:2525 (Connection refused) Code Example Connection could not be established with host smtp.mailtrap.io :stream_socket_client(): Unable to connect to tcp://smtp.mailtrap.io:2525 (Connection refused) Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
7