git 删除目录


1. 查看本地已经被删除的文件







2. 删除 目录以及目录下的文件

[root@test01 h2_mopub_replace]# git rm ../test_code_driver -r


3. 

[root@test01 h2_mopub_replace]# git commit -m "调整框架"


4. 同步到远程分支

[root@test01 h2_mopub_replace]# git push origin code_optim_20150727:code_optim_20150727


原文地址:https://www.cnblogs.com/liguangsunls/p/7237860.html