git push to all remotes
#To push all branches to all remotes:
git remote | xargs -L1 git push --all
#Or if you want to push a specific branch to all remotes:
#Replace master with the branch you want to push.
git remote | xargs -L1 -I R git push R master
#(Bonus) To make a git alias for the command:
git config --global alias.pushall '!git remote | xargs -L1 git push --all'git remote set-url --add --push origin git://original/repo.git
git remote set-url --add --push origin git://another/repo.git
Also in C++:
- how to get list of files in zip linux
- not able to start conda navigator ubuntu 18.04
- add upstream branch git
- npm i install react boostrapp grid
- how to delete a branch git
- linux view kernel version
- move files command line windows
- adonis install
- How to run Visual Studio Code in Google Cloud Shell
- undo last commit pushed
- how to sync my directory with my deleted file change
- bash loop over files with extension
- back4app cli tool install mac
- dropbox windows powershell remove directory sync
- list commands in shell
- install kubernetes on mac
- Python3 pip3 install broken on Ubuntu Ask Question
- git remove file from repo that has been added to gitignore
- install livewire laravel
- install brew max
- install wmctrl
- ubuntu diff directories
- for loop change increment matlab
- change dns linux