简体   繁体   English

为什么我的文件(照片)在未跟踪的文件中?

[英]Why my files(photos) are in untracked files?

I added few photos to my project .png and .svg , and for some reason (not in ignore file) they are getting into the untracked files list.我在我的项目.png.svg添加了几张照片,由于某种原因(不在忽略文件中),它们进入了未跟踪的文件列表。

Is this any reason for it?这有什么原因吗? How Git chooses the files to untrack? Git 如何选择要取消跟踪的文件?

您必须向项目中添加一个新文件,默认情况下新文件是未跟踪的。

git add 'myfile'

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM