元の公式レポからレポをフォークしましたmoodle。支店として15以上masterの支店があります。次に、ローカル マシンでクローンを作成しました。フォルダーにクローンをproject作成し、約 50 を作成したとしましょうfolders。
実行 git remote -vすると、次のようになりました。
origin https://github.com/ps/moodle.git (fetch)
origin https://github.com/ps/moodle.git (push)
upstream https://github.com/moodle/moodle.git (fetch)
upstream https://github.com/moodle/moodle.git (push)
だから、私は と を持っていoriginますupstream。
今、私は別のユーザーから別のブランチをしたいと思っていましたfork。cloneブランチが であるとしましょうgs。したがって、そのユーザーは、このブランチをからgsの同じブランチの下に維持します。ここで、ローカル マシンにクローンを作成するために、リモートを作成してクローンを作成しました。mastermoodleotheruser
したがって、今実行 git remote -vすると次のようになります。
origin https://github.com/ps/moodle.git (fetch)
origin https://github.com/ps/moodle.git (push)
otheruser https://github.com/otheruser/moodle.git (fetch)
otheruser https://github.com/otheruser/moodle.git (push)
upstream https://github.com/moodle/moodle.git (fetch)
upstream https://github.com/moodle/moodle.git (push)
私の質問はこれです:
ブランチを複製するとgs、余分なサブディレクトリが作成されました。では、物理的に理解できないということは、どのように機能するのでしょうか。これらの余分なサブディレクトリに変更を加えて、それをmasterブランチの下の Github アカウントにプッシュしても問題ありませんか?