From: Martin Langhoff <martin.langhoff@gmail.com>
To: GIT <git@vger.kernel.org>
Subject: Pushing back to shared repo with a different named branch
Date: Mon, 22 Aug 2005 13:59:10 +1200 [thread overview]
Message-ID: <46a038f9050821185965869612@mail.gmail.com> (raw)
Following earlier discussions, I've setup a team repo where all
heads/branches are. We have many interrelated branches so it makes
sense to keep it all together. to work, we do single-branch checkouts
using ssh like:
cg-clone locke.catalyst.net.nz:/var/git/moodle.git#mdl-osc-ceed moodle-osc-ceed
now, after a few commits, I'm ready to push back onto the branch.
cg-push won't let me, and I kind of expected that. It says:
$ cg-push origin
cg-push: pushing to a different head not supported yet
But git isn't playing ball either. What is the right incantation to
tell it to push origin to where it came from.
$ cat .git/branches/origin
locke.catalyst.net.nz:/var/git/moodle.git#mdl-osc-ceed
git-push-script origin
error: remote ref 'refs/heads/master' is not a strict subset of local
ref 'refs/heads/master'.
error: remote ref 'refs/heads/origin' is not a strict subset of local
ref 'refs/heads/origin'.
I am not using the 'remotes' setup, because I want to avoid too much
setup of each repo/working copy. Is there a simple way of doing this?
cheers,
martin
next reply other threads:[~2005-08-22 23:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-22 1:59 Martin Langhoff [this message]
2005-08-22 3:01 ` Pushing back to shared repo with a different named branch Martin Langhoff
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46a038f9050821185965869612@mail.gmail.com \
--to=martin.langhoff@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).