删除文件夹
git rm --cached -r dir_name
删除文件
git rm --cached filename
删除后不用git add 直接提交
git commit -m "desc"
提交
git push
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
git rm --cached -r dir_name
git rm --cached filename
git add 直接提交git commit -m "desc"
git push