f6a7c31a3197845e5c1210e2d93cee4344f31d13
.redirects.gollum
... | ... | @@ -20,3 +20,5 @@ macOS/Android File Transfer/デバイスを開けない場合.md: macos/Android |
20 | 20 | macos/Finderで隠しファイルを表示する.md: macos/finder/Finderで隠しファイルを表示する.md |
21 | 21 | 'vmware/exsi/ghettoVCB/ERROR: failed to locate and extract VM_ID for.md': vmware/esxi/ghettoVCB/ERROR%3A |
22 | 22 | failed to locate and extract VM_ID for.md |
23 | +git/submdule/”Direct fetching of that commit failed.”を解決する.md: git/submodule/”Direct |
|
24 | + fetching of that commit failed.”を解決する.md |
git/submdule/\342\200\235Direct fetching of that commit failed.\342\200\235\343\202\222\350\247\243\346\261\272\343\201\231\343\202\213.md
... | ... | @@ -1,19 +0,0 @@ |
1 | -別マシンから |
|
2 | -``` |
|
3 | -git pull --recurse-submodules |
|
4 | -``` |
|
5 | -したときなどに, |
|
6 | -``` |
|
7 | -fatal: remote error: upload-pack: not our ref [コミットID] |
|
8 | -fatal: The remote end hung up unexpectedly |
|
9 | -Fetched in submodule path '[レポジトリ名]', but it did not contain [コミットID]. Direct fetching of that commit failed. |
|
10 | -``` |
|
11 | -と出た場合. |
|
12 | - |
|
13 | -- 原因1 |
|
14 | - submoduleのレポジトリをリモートレポジトリにpushし忘れている |
|
15 | - →作業していたマシンで`git push --recurse-submodules`する. |
|
16 | - |
|
17 | -- 原因2 |
|
18 | - submoduleのoriginのURLが変わった |
|
19 | - →`git submodule sync` |
|
... | ... | \ No newline at end of file |
git/submodule/\342\200\235Direct fetching of that commit failed.\342\200\235\343\202\222\350\247\243\346\261\272\343\201\231\343\202\213.md
... | ... | @@ -0,0 +1,19 @@ |
1 | +別マシンから |
|
2 | +``` |
|
3 | +git pull --recurse-submodules |
|
4 | +``` |
|
5 | +したときなどに, |
|
6 | +``` |
|
7 | +fatal: remote error: upload-pack: not our ref [コミットID] |
|
8 | +fatal: The remote end hung up unexpectedly |
|
9 | +Fetched in submodule path '[レポジトリ名]', but it did not contain [コミットID]. Direct fetching of that commit failed. |
|
10 | +``` |
|
11 | +と出た場合. |
|
12 | + |
|
13 | +- 原因1 |
|
14 | + submoduleのレポジトリをリモートレポジトリにpushし忘れている |
|
15 | + →作業していたマシンで`git push --recurse-submodules`する. |
|
16 | + |
|
17 | +- 原因2 |
|
18 | + submoduleのoriginのURLが変わった |
|
19 | + →`git submodule sync` |
|
... | ... | \ No newline at end of file |