Git命令

来源:互联网 发布:京东618和双11数据 编辑:程序博客网 时间:2024/06/07 21:22

1,一个人全权管理的仓库,大量修改后想一次性提交
直接执行git push 会得到错误
git updates were rejected because a pushed branch tip is behind its remote…
使用:
git push –force origin master:master
这表示:

I’d like to basically clear out what’s on the server and push a whole
branch from fresh.

0 0