Git:Git文件删除、恢复、重命名(rm/git rm,mv/git mv)
转自:https://blog.youkuaiyun.com/p106786860/article/details/52023885一、删除文件 a.本地删除不是真的删除 1.查看当前文件状态,新创建的文件hack-1.txt添加到暂存区,welcome.txt文件在工作区有修改; 2.当前工作区的文件有detached-commit.txt、hack-1.txt、new-commit.txt、stash.t...
转载
2018-03-29 17:45:25 ·
520 阅读 ·
0 评论