You added some files to your repository, but now realize that your project needs to be restructured. Make a new folder named 'src' and using Git move all of the .html files into this folder.
仓库中逐渐积累了一些文件,现在你意识到应该重新组织一下目录结构,请创建一个名为 'src' 的新目录名,用 Git 能追踪到方式把 .html 文件移到此文件夹中。
这其实就是文件改名的综合运用嘛!实际工作中,随着文件的增多,就要重新组织目录结构,把文件分类存放。操作方法是先建一个新目录,然后把需要移动的文件用 git mv
命令移过来就行了。
第15关过关画面如下: