Wake Me Up When September Ends.

A wanderer capable of grasping the beauty of the grass, with a heart full of ancient charm, and a fondness for playful wit. Those who understand my words are knowledgeable individuals; those who decipher my code truly comprehend the essence. I am a wandering code swordsman, carrying my skills and riding freely through the digital world.



1.使用git rm 命令

git rm -r –cached 要删除的文件名或目录,如:

git rm -r --cached .idea #--cached 只删远程仓库的文件,不会删除本地的


git commit -m '删除XX文件'


git push -u origin <branch_name>