LoginSignup
5
4

More than 5 years have passed since last update.

git remote set-url origin --add で複数リポジトリに同時 push だ

Posted at

2015年3月27日現在、GitHub に繋がりにくくなっていて大変不便ですね。
こんな時のために日頃から Bitbucket にもコミットするようにしておきましょう。

git remote set-url origin --add ssh://git@bitbucket.org/リポジトリの/パス.git

これで git push 一発で GitHub と Bitbucket の両方に push されます。
:poop:

5
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
4