git 命令

1.修改已经提交了的注释

git commit --amend 

但是如果你已经push过了,那么其历史最后一次,永远也不能修改了。

2.删除远程分支

git push --delete  origin XXX

你可能感兴趣的:(git 命令)