Git Push Command For Pushing A Local Commit To A Different Remote Branch
I synced to a repo tree which is branch 'jb'... I have a local commit on this branch which I am trying to push to a remote branch 'jb_mr2' and running into following error..is ther
Solution 1:
I was able to play with this a bit more and have a better solution. If I read you correctly, the remote branch "jb_mr2" already exists. From the local branch with the commits run this:
git push ssh://company.com:29418/platform/vendor/com-proprietary/ship/ftm 72bc75e409e50dcad29bd790b4b6478dc6668f12:jb_mr2
If the remote does not exist:
git push ssh://company.com:29418/platform/vendor/com-proprietary/ship/ftm 72bc75e409e50dcad29bd790b4b6478dc6668f12:/refs/heads/jb_mr2
Post a Comment for "Git Push Command For Pushing A Local Commit To A Different Remote Branch"