git移除之前没有ignore的文件/文件夹 发表于 2016-07-01 更新于 2017-07-02 分类于 git 阅读次数: 本文字数: 175 阅读时长 ≈ 1 分钟 命令git rm 移除一个文件 123git rm text.js --cachedgit commit -am 'test: rm files'git push 移除一个文件夹 123git rm folder -f --cachedgit commit -am 'test: rm folder'git push