LoginSignup
10
9

More than 5 years have passed since last update.

gitで複数のリモートレポジトリにpushする方法

Posted at

追加したいレポジトリの.git/configに一行追加すればOK。

[remote "origin"]
    url = git@github.com:ongaeshi/milkode.git
+   url = git@github.com:hogehoge/hogehoge.git
    fetch = +refs/heads/*:refs/remotes/origin/*

さらに詳しく

10
9
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
10
9