git使用过程中遇到的错误

1.使用git add "login.py" 然后git commit -m "add url"的时候报错。分支newtype也是存在的

 nothing to commit, working tree clean。

 2.删除分支报错, Cannot delete branch

切换到其他分支之后

gti branch -D newtype

删除远程分支

 git push origin  :newtype

猜你喜欢

转载自www.cnblogs.com/c-x-a/p/9012391.html