我正在使用sourceTree。
如何将现有的本地项目(分支)推送到
我赢得了一个远程 Gitbug 存储库?
我尝试得到这个错误:
git -c diff.mnemonicprefix=false -c core.quotepath=false push -v --tags --set-upstream memPic master:master
Pushing to https://github.com/elad2109/memPic.git
To https://github.com/elad2109/memPic.git
! [rejected] master -> master (non-fast-forward)
error: failed to push some refs to 'https://github.com/elad2109/memPic.git'
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Merge the remote changes (e.g. 'git pull')
hint: before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
Completed with errors, see above
但无论如何我不确定需要哪些步骤?