Git常用操作

提交

git add -A
git commit -m
git push origin :

撤销add未commit的文件

git rm —cached
git reset .

删除远程分支和tag

git push origin :