git 发布到远程分支

 

git push 提交报错:当前版本低于远程仓库版本。

解决办法(1):

可以新建分支 git branch myself2 

然后再 git push -u origin myself2 

 ! [rejected]        master -> master (non-fast-forward)


hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Integrate the remote changes (e.g.
hint: 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.

 

你可能感兴趣的:(git 发布到远程分支)