public inbox for overseers@sourceware.org
 help / color / mirror / Atom feed
* gcc: Trouble setting up / using git area
@ 2024-02-19 13:05 Georg-Johann Lay
  2024-02-19 13:36 ` Mark Wielaard
  2024-02-19 13:39 ` Frank Ch. Eigler
  0 siblings, 2 replies; 6+ messages in thread
From: Georg-Johann Lay @ 2024-02-19 13:05 UTC (permalink / raw)
  To: overseers

Hi, I'm having trouble wrapping my head around the
git areas as described in

https://gcc.gnu.org/git.html "Repository Layout"

With that description I managed somehow to get

$ git ls-remote | grep gjl
 From git+ssh://gjl@gcc.gnu.org/git/gcc.git
eafe83f2f20ef0c1e7703c361ba314b44574523c	refs/users/gjl/heads/gcc-8

So I have my own branches in "users/gjl" according to the
branch naming convention.

But I cannot use it to push anything. I created a local branch 
"gjl/gcc-8" from "releases/gcc-8" and want to push, e.g.

$ git push origin gjl/gcc-8:refs/users/gjl/heads/gcc-8

but I am getting errors from the server.

Creating a branch to track "users/gjl" does not work either:

$ git checkout -b gjl/gcc-8 --track refs/users/gjl/heads/gcc

I am just lost and trying around isn't any good.  Would
you please help me on how to uuse it?  The gcc Wiki on git
does not have any examples either.

My local repo is a git worktree  in case that matters.

Thanks,  Johann

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-02-19 14:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-19 13:05 gcc: Trouble setting up / using git area Georg-Johann Lay
2024-02-19 13:36 ` Mark Wielaard
2024-02-19 14:24   ` Georg-Johann Lay
2024-02-19 14:53     ` Jonathan Wakely
2024-02-19 14:55     ` Georg-Johann Lay
2024-02-19 13:39 ` Frank Ch. Eigler

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 read-only IMAP folder(s) and NNTP newsgroup(s).