w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
git push command for pushing a local commit to a different remote branch

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




© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.