Pushing a single tag (ref + object)?
From: Martin Langhoff <hidden>
Date: 2016-06-15 22:42:09
While we are using a repo which holds all our branches
(dev/test/prod), locally we have a group of developers that checkout
one repo-per-branch, working on it with a
cg-clone/cg-update/cg-commit/cg-push workcycle. So far it's working
great.
Now, I am at a loss on how to push a _tag_ object+ref to the repo,
without doing a git-push --all, which I naturally don't want to do. I
managed to push the object itself, doing
git-push repository tagrefname
But that ddn't create the ref on the repo. So I had to do
scp .git/refs/tags/refname repostory/refs/tags/
I'm feeling a tad lost here. Surely there's a way? Or should I be
crafting a patch against git-push-script? Problem is, git-push script
doesn't do any parsing of the params. Grmbl.
martin