問題タブ [git-repo]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
2 に答える
49 参照

git - git サブモジュールに基づいてファット git リポジトリを作成する

これを行うことが可能であれば、私は知りたいです:

  1. git clone --recursive <repository with submodule>
  2. git remote add fat-repository <path>
  3. ???
  4. git add -A && git commit -m "Test" && git push fat-repository master

ステップ 3では、リポジトリのサブモジュールを解除し、submoduleコンテンツを保持しますが、それがサブモジュールであったという痕跡をすべて削除します。

ありがとう!