git修改目录名称

同步代码

$ git pull origin master

修改某个目录名称

$ git mv doc docs

把doc目录修改为docs

提交至远程仓库

$ git push origin master
原文地址:https://www.cnblogs.com/xiaoyucoding/p/7472944.html