扫码关注官方订阅号
有远程库也能正常push,但在本地master分支上不显示your branch is up-to-date with 'origin/master'。
push
master
your branch is up-to-date with 'origin/master'
找了好久,发现是在我这样的操作之后没有的提示消息的。。
git remote rm origin git remote add origin git@github.com:username/repository.git
解决了。。少了一行命令:
git push -u origin master
微信扫码关注PHP中文网服务号
QQ扫码加入技术交流群
Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
PHP学习
技术支持
返回顶部
解决了。。少了一行命令: