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

Re: How to create independent branches

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Apr 8, 2006, 22:09 UTC
Message-ID
<Pine.LNX.4.63.0604090006230.9176@wbgn013.biozentrum.uni-wuerzburg.de>
In-Reply-To
<20060408205747.GT27689@pasky.or.cz>
Hi,
On Sat, 8 Apr 2006, Petr Baudis wrote:
Show 10 quoted lines
> Dear diary, on Sat, Apr 08, 2006 at 10:49:04PM CEST, I got a letter
> where Junio C Hamano <junkio@cox.net> said that...
> > 
> > My "todo" branch is not even part of my main git repository.  I
> > just have two independent repositories (git and todo) locally,
> > and push into the same public repository.
> 
> Wouldn't it be better to separate it to two distinct public repositories
> as well? It's confusing people and encouraging a practice that really
> isn't very feasible and practical in Git.

How so? I find it highly practical, and do it myself. For example, I track a project which is not version-controlled at all. So I have a "branch" in git where I keep the tools to fake that version-controlling. And git makes it easy to just fetch the changes of both the project and my tools.

Ciao, Dscho

Previous: Junio C Hamano
Message 10 of 10 in “Can't export whole repo as patches”
  1. Peter BaumannApr 7, 2006
  2. Junio C HamanoApr 7, 2006
  3. How to create independent branchesPeter Baumann, Apr 8, 2006
  4. Jakub NarebskiApr 8, 2006
  5. Peter BaumannApr 9, 2006
  6. Peter BaumannApr 9, 2006
  7. Junio C HamanoApr 8, 2006
  8. Petr BaudisApr 8, 2006
  9. Junio C HamanoApr 8, 2006
  10. Johannes SchindelinApr 8, 2006

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.