一、问题(本轮实测)
`draw-ui` 与 `oil-motion` 目录里**各自带一个内嵌 `.git`** ⇒ 上一次提交把它们记成了 **gitlink(子模块指针)**
⇒ 仓库里只存了一个不属于任何远端的 commit id,**别人克隆下来这两份是空的** ✗(`git status` 显示 ` m draw-ui` / ` m oil-motion` = 子模块内容有改动)。
二、处置(可回退)
· 把两处的 `.git` **挪走**(⛔ 不是删除)⇒ `归档/内嵌git-20261008/{draw-ui,oil-motion}.git`;
· `git rm --cached` 掉那两个 gitlink,再 `git add` 两个目录 ⇒ **按正常文件入库**(内容才真的进仓库)。
三、副作用(如实记)
挪走 `.git` 后,这两个技能**不能再原地 `git pull` 取上游更新**(要更新得重新拉一份覆盖);
如需恢复其本地仓库,把 `归档/内嵌git-20261008/` 里的 `.git` 挪回原处即可。
13 lines
1.1 KiB
XML
13 lines
1.1 KiB
XML
<svg xmlns="http://www.w3.org/2000/svg" width="420" height="64" viewBox="0 0 420 64" role="img" aria-labelledby="title desc">
|
|
<title id="title">README made with beautify-github-readme</title>
|
|
<desc id="desc">A compact draw-ui styled credit linking to beautify-github-readme.</desc>
|
|
<rect x=".5" y=".5" width="419" height="63" rx="14" fill="#F3F5F0" stroke="#D9DED7"/>
|
|
<rect x="18" y="20" width="28" height="24" fill="#FFFFFF" stroke="#5B6BFF" stroke-width="1.6"/>
|
|
<rect x="15.5" y="17.5" width="5" height="5" fill="#FF8A6E"/>
|
|
<rect x="43.5" y="41.5" width="5" height="5" fill="#FF8A6E"/>
|
|
<text x="62" y="25" fill="#737C78" font-family="-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif" font-size="10" font-weight="700" letter-spacing="1.7">README MADE WITH</text>
|
|
<text x="62" y="47" fill="#19211F" font-family="-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif" font-size="15" font-weight="750">beautify-github-readme</text>
|
|
<rect x="372" y="17" width="32" height="30" rx="9" fill="#5B6BFF"/>
|
|
<path d="M382 37l11-11M386 26h7v7" fill="none" stroke="#FFFFFF" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/>
|
|
</svg>
|