Я использую sourceTree.Как направить существующую локальную ветвь на удаленный в gitHub?
Как я могу подтолкнуть существующий локальный проект (филиал) в
удаленный репозиторий 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
, но в любом случае я не уверен, что требуемые шаги?
Возможный дубликат http://stackoverflow.com/questions/10298291/cannot-push-to-github-keeps-saying-need-merge – thSoft
git pull --rebase –