Here are my list of branches:
$ git br
BR_4_1_4
* BR_4_2_0
BR_4_2_0_phase2
feature/subchecks
master
wip/central-build-dir
wip/cmake
wip/gcc-pedantic
wip/noncopyable-cserializable
I'd like to push all of the branches starting with wip/
. So I tried this:
$ git push -u origin wip/*
Everything up-to-date
But it says everything is up to date? This can't be since I know a few of these branches do not exist on the remote. Should this work? If not, what's the correct way to do this?
Try
git push -u origin refs/heads/wip/*
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With