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

Understanding When to Use Branches

From
Ggw1500 <wtriker.ffe@gmail.com>
Date
Jan 8, 2013, 13:46 UTC
Message-ID
<50EC232D.90009@yahoo.com>

As a git noobie I am beginning get get my head around git's version control philosophy. I am now trying to understand the purposes of branches or rather when to use them. In my case I have a Java application under version control with git. I am planning to port it into a mobile app. Is that an appropriate use of branches or should it be created as a new repository? What is the relationship between the same source code in different branches? Do changes to code in one branch get ported to another branch somehow or do all changes then have to be made twice? The documentation tells how to branch but not the general philosophy behind it from a best practices standpoint. Thanks in advance for any insight.

Next: Konstantin Khomoutov
Message 1 of 2 in “Understanding When to Use Branches”
  1. gw1500Jan 8, 2013
  2. Konstantin KhomoutovJan 8, 2013

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.