PublicとPrivate Repository間でPull Requestを送信する。
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
単語検索
|
最終更新
|
ヘルプ
]
開始行:
「[[.NET 開発基盤部会 Wiki>http://dotnetdevelopmentinfras...
-[[戻る>Github - Pull Request関連]]
*目次 [#r3406dcc]
#contents
*概要 [#u5e2ec44]
-通常、Public RepositoryとPrivate Repository間ではPull Re...
-なので、Public Repositoryの作業を暫くPrivate Repository...
*詳細 [#lf449a08]
**手順 [#f3a659d0]
裏技的方法として、以下の手順で ≒ の事を実現できる。
+Public Repository を GitHub上で folk する。
+Private Repository を GitHub上に新設する。
+以下の様な手順でPrivate Repository に Public Repository ...
git clone --bare https://github.com/exampleuser/public-r...
cd public-repo.git
git push --mirror https://github.com/yourname/private-re...
※ mirror後、cloneしたローカルのPublic Repositoryは削除し...
~
~
+Private Repository をcloneして作業する。
+Private Repository の変更をPublic Repositoryに (pull&)pu...
cd private-repo
git remote add public https://github.com/exampleuser/pub...
git pull public master # Creates a merge commit
git push origin master
+Public Repository から folk 元 に GitHub上から Pull Requ...
※ TortoiseGitでは「任意のURL」を使用すれば、Repository間...
**コンフリクト解消 [#o1f3c18f]
-[[最近は、GitHub上のUIで解消可能。>Pull Requestのコンフ...
-細かな作業が必要な場合、クローンしたローカルの~
Public Repository上で[[コンフリクト解消作業>Pull Request...
-何れにせよ、上記変更は、Private Repository に push する...
*参考 [#qcd6f2bd]
-git - GitHub pull request from private to public repo po...
https://stackoverflow.com/questions/8834755/github-pull-r...
-GitHub: How to make a fork of public repository private?~
https://medium.com/@bilalbayasut/github-how-to-make-a-for...
-朗報、GitHub無料ユーザーも無制限に~
プライベートリポジトリを使えるようになる | TechCrunch Jap...
https://jp.techcrunch.com/2019/01/08/2019-01-07-github-fr...
**github.com [#y816cf3c]
-https://github.com/NetDevInfraWGinOSSConsortium/test_Pub...
--https://github.com/daisukenishino2/test_Public
--https://github.com/daisukenishino2/test_Private (Private)
終了行:
「[[.NET 開発基盤部会 Wiki>http://dotnetdevelopmentinfras...
-[[戻る>Github - Pull Request関連]]
*目次 [#r3406dcc]
#contents
*概要 [#u5e2ec44]
-通常、Public RepositoryとPrivate Repository間ではPull Re...
-なので、Public Repositoryの作業を暫くPrivate Repository...
*詳細 [#lf449a08]
**手順 [#f3a659d0]
裏技的方法として、以下の手順で ≒ の事を実現できる。
+Public Repository を GitHub上で folk する。
+Private Repository を GitHub上に新設する。
+以下の様な手順でPrivate Repository に Public Repository ...
git clone --bare https://github.com/exampleuser/public-r...
cd public-repo.git
git push --mirror https://github.com/yourname/private-re...
※ mirror後、cloneしたローカルのPublic Repositoryは削除し...
~
~
+Private Repository をcloneして作業する。
+Private Repository の変更をPublic Repositoryに (pull&)pu...
cd private-repo
git remote add public https://github.com/exampleuser/pub...
git pull public master # Creates a merge commit
git push origin master
+Public Repository から folk 元 に GitHub上から Pull Requ...
※ TortoiseGitでは「任意のURL」を使用すれば、Repository間...
**コンフリクト解消 [#o1f3c18f]
-[[最近は、GitHub上のUIで解消可能。>Pull Requestのコンフ...
-細かな作業が必要な場合、クローンしたローカルの~
Public Repository上で[[コンフリクト解消作業>Pull Request...
-何れにせよ、上記変更は、Private Repository に push する...
*参考 [#qcd6f2bd]
-git - GitHub pull request from private to public repo po...
https://stackoverflow.com/questions/8834755/github-pull-r...
-GitHub: How to make a fork of public repository private?~
https://medium.com/@bilalbayasut/github-how-to-make-a-for...
-朗報、GitHub無料ユーザーも無制限に~
プライベートリポジトリを使えるようになる | TechCrunch Jap...
https://jp.techcrunch.com/2019/01/08/2019-01-07-github-fr...
**github.com [#y816cf3c]
-https://github.com/NetDevInfraWGinOSSConsortium/test_Pub...
--https://github.com/daisukenishino2/test_Public
--https://github.com/daisukenishino2/test_Private (Private)
ページ名: