git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: AW: AW: Parallell Development / Switching to GIT

From
Johannes Sixt <j.sixt@viscovery.net>
Date
Jul 2, 2009, 06:20 UTC
Message-ID
<4A4C51B7.7010000@viscovery.net>
In-Reply-To
<B81058949321C8439B9D742F5F8D8FCA01A75CFA@hpserver.intranet.local>
Patrick Neuner - Futureweb.at schrieb:
Show 13 quoted lines
> We use the update-hook to check into which branches pushes are allowed per different ssh keys. 
> Now, I wonder how I am able to create branches that are below another branch. 
> 
> Like 
> Refs/heads/master
> Refs/heads/dev
> Refs/heads/dev/featureA
> Refs/heads/dev/featureB
> 
> Instead of
> Refs/heads/featureA
> 
> Anything I tried either results in an error or creates the branch under /refs/heads/. 

You cannot have refs/heads/dev and refs/heads/dev/featureA at the same time, just like you cannot have a file and a directory with the same name at the same time. In fact, the refs "database" is implemented as physical files on the file system.

-- Hannes
Previous: Patrick Neuner - Futureweb.atNext: Patrick Neuner - Futureweb.at
Message 10 of 13 in “Parallell Development / Switching to GIT”
  1. Patrick NeunerJun 25, 2009
  2. Andreas EricssonJun 25, 2009
  3. AW: Parallell Development / Switching to GITPatrick Neuner - Futureweb.at, Jun 28, 2009
  4. Jeff KingJun 28, 2009
  5. AW: Parallell Development / Switching to GITPatrick Neuner - Futureweb.at, Jun 28, 2009
  6. David AguilarJun 28, 2009
  7. Andreas EricssonJun 29, 2009
  8. Peter HarrisJun 29, 2009
  9. AW: AW: Parallell Development / Switching to GITPatrick Neuner - Futureweb.at, Jul 2, 2009
  10. Johannes SixtJul 2, 2009
  11. AW: AW: AW: Parallell Development / Switching to GITPatrick Neuner - Futureweb.at, Jul 2, 2009
  12. Johannes SixtJul 2, 2009
  13. Jeff KingJun 30, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.