Assume that I have have the following branches
refs/heads/master
refs/heads/x
refs/heads/y
...
refs/heads/features/a
refs/heads/features/b
refs/heads/features/c
refs/heads/features/d
..
Now I would like push all branches located in refs/heads/features/*
to another remote (which I have already configured) so they end up on the remote with the same names. But I don´t want to x
and y
. Is that possible and if yes how do I do the same thing for tags?
I know git push --all
can be used but its not quite what I am looking for.
git push --all
doesn't work for you?git
question without an answer for 2 years :)