You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dear Experts,
I'm having the following problem pushing a new branch to my git repo.
If I do the following:
cmsrel CMSSW_5_3_11_patch5
cd CMSSW_5_3_11_patch5/src
cmsenv
git cms-merge-topic lenzip:cmgtools-for-VBFH2l2Q-CMSSW_5_3_11_patch5
git checkout -b cmgtools-for-VBFH2l2Q-CMSSW_5_3_11_patch5_dev
git push my-cmssw cmgtools-for-VBFH2l2Q-CMSSW_5_3_11_patch5_dev
I get:
! [rejected] cmgtools-for-VBFH2l2Q-CMSSW_5_3_11_patch5_dev -> cmgtools-for-VBFH2l2Q-CMSSW_5_3_11_patch5_dev (fetch first)
error: failed to push some refs to 'git@github.com:lenzip/cmssw.git'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first merge the remote changes (e.g.,
hint: 'git pull') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
However I'm sure there is no more work in that branch.
Do you have any advice how to solve this problem?
Thanks
Giulio
The text was updated successfully, but these errors were encountered:
Dear Experts,
I'm having the following problem pushing a new branch to my git repo.
If I do the following:
cmsrel CMSSW_5_3_11_patch5
cd CMSSW_5_3_11_patch5/src
cmsenv
git cms-merge-topic lenzip:cmgtools-for-VBFH2l2Q-CMSSW_5_3_11_patch5
git checkout -b cmgtools-for-VBFH2l2Q-CMSSW_5_3_11_patch5_dev
git push my-cmssw cmgtools-for-VBFH2l2Q-CMSSW_5_3_11_patch5_dev
I get:
! [rejected] cmgtools-for-VBFH2l2Q-CMSSW_5_3_11_patch5_dev -> cmgtools-for-VBFH2l2Q-CMSSW_5_3_11_patch5_dev (fetch first)
error: failed to push some refs to 'git@github.com:lenzip/cmssw.git'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first merge the remote changes (e.g.,
hint: 'git pull') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
However I'm sure there is no more work in that branch.
Do you have any advice how to solve this problem?
Thanks
Giulio
The text was updated successfully, but these errors were encountered: