-
提交文件
-
复制代码到 工作目录
-
git clone 仓库地址
-
git add *
-
git commit -m '提交信息'
-
git push 仓库地址
-
仅删除远程文件
-
git rm --cached filename //文件夹 git rm -r --cached directory
-
git commit -m "delete remote file filename "
-
git push 仓库
-
删除远程和本地
-
git rm filename //文件夹 git rm -r directory
-
git commit -m "delete file filename "
-
git push 仓库地址