Home
Sign Up
Sign In
V2EX
›
问与答
怎么把 git 之前停止追踪的目录再恢复追踪
birdplane
·
Oct 31, 2017
· 1862 views
This topic created in 3298 days ago, the information mentioned may be changed or developed.
之前用这个命令停止的追踪 现在怎么恢复回来呢
git rm --cached file
git
追踪
cached
停止
1 replies
•
2018-04-27 19:05:44 +08:00
Joechin
Apr 27, 2018
1
今天遇到了同样的场景。中文环境只搜索到这里有提到类似问题。
尝试后,这样的操作可以满足 add -f 参数
git add -f file
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
968 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 25ms ·
UTC 18:49
·
PVG 02:49
·
LAX 10:49
·
JFK 13:49
♥ Do have faith in what you're doing.
❯