github仓库里面的文件夹名如何修改?

ls /tmp
project1 project2 project3 project4
tree /tmp/project1
images css js html

cd /tmp/
git init
git add  project1/
git commit -m "upload"
git remote add origin https://github.com/xxxx/mytest.git
git push -u origin master

现在,https://github.com/xxxx/mytest 下面有了project1 ,project1下面有
images css js html
现在我需要
1.如何将project1,改名为“我的测试文件夹”?
(mytest更名可以在setting里面。)
2.project1下面的images,改名为 imgs ?

注意:都是github上要改。请问,如何做到?

难道只有删除后,本低端修改文件夹名字后重新 push?

阅读 9.5k
1 个回答
git mv project1 我的测试文件夹
git commit
git push