13
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

複数のリポジトリに同時pushする

Posted at

リポジトリの追加

追加したいプロジェクト下で以下を実行

git remote add origin url
git remote set-url --add origin another_url

.git/configにsetされているか確認

以下のように追加されていればok!

 [remote "origin"]
    fetch = +refs/heads/*:refs/remotes/origin/*
    url = url
    url = another_url

通常通りpushする

git push origin master
13
6
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
13
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?