how to delete all branches in git except master
git branch | grep -v "master" | xargs git branch -D$ git branch | grep -v "master" | xargs git branch -D $ git branch | grep -v '^*' | xargs git branch -D
Also in Shell:
- windows virtualenv pip numpy problem
- show all processes linux
- laravel create model
- disable open file explorer erverytime i connect usb ubuntu
- inicializar as credenciais no git
- how to rsync linux
- install react bootstrap
- ubuntu stop process on port
- ansible only disable service if installed
- linux vim set tab to 4 spaces
- git store credentials
- npm install react
- git log graph
- ruby for loop
- env variable bash
- react-devtools agent got no connection
- git push
- npm ERR! path /usr/local/lib/nodejs/node-v10.15.3-linux-x64/lib/node_modules while installing angular cli
- edit files from terminal linux
- install nvm
- uninstall node from linux debian
- rename a file in linux
- check disk space linux
- undo last commit