I have added a file named "file1.txt"
to a Git repository.
(我已将名为"file1.txt"
的文件添加到Git存储库中。)
dir1
and dir2
, and committed them to the Git repository. (之后,我提交了它,添加了几个名为dir1
和dir2
的目录,并将它们提交给Git存储库。)
Now the current repository has "file1.txt"
, dir1
, and dir2
.
(现在,当前存储库具有"file1.txt"
, dir1
和dir2
。)
"file1.txt"
without affecting others, like dir1
and dir2
? (如何在不影响其他内容的情况下删除"file1.txt"
,例如dir1
和dir2
?)