鍍金池/ 問(wèn)答/HTML5  Linux/ github倉(cāng)庫(kù)里面的文件夾名如何修改?

github倉(cāng)庫(kù)里面的文件夾名如何修改?

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

現(xiàn)在,https://github.com/xxxx/mytest 下面有了project1 ,project1下面有
images css js html
現(xiàn)在我需要
1.如何將project1,改名為“我的測(cè)試文件夾”?
(mytest更名可以在setting里面。)
2.project1下面的images,改名為 imgs ?

注意:都是github上要改。請(qǐng)問(wèn),如何做到?

難道只有刪除后,本低端修改文件夾名字后重新 push?

回答
編輯回答
無(wú)標(biāo)題
git mv project1 我的測(cè)試文件夾
git commit
git push
2018年3月10日 10:21