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

Re: Really beginner on Version Control

From
FernandoBasso <fernandobasso.br@gmail.com>
Date
Sep 22, 2010, 00:13 UTC
Message-ID
<1285114417273-5557145.post@n2.nabble.com>
In-Reply-To
<m3mxrak937.fsf@localhost.localdomain>

I really appreciate your help. All of you. This is all starting to make sense to me thanks to you guys.

Now, what are the possible ways that we can get to a conflict when merging branches ? I'm doing some study tests, and some times I get conflicts, some times I don't. I couldn't really understand what causes them or not yet.

For instance, I have 'hello' in line 2 of site.php in the master branch. I go to the testing branch, edit site.php, change 'hello' for 'world' at the same line, commit and got back to master. I merge testing into master and I get no conflicts. Shouldn't it conflict ? (site.php in master also contains the string 'world' in the place of 'hello' now).

-- 
View this message in context: http://git.661346.n2.nabble.com/Really-beginner-on-Version-Control-tp5555023p5557145.html
Sent from the git mailing list archive at Nabble.com.
Previous: Jakub NarebskiNext: Andrew Keller
Message 9 of 17 in “Really beginner on Version Control”
  1. FernandoBassoSep 21, 2010
  2. Thomas MoulardSep 21, 2010
  3. Enrico WeigeltSep 21, 2010
  4. Eric RaibleSep 24, 2010
  5. Enrico WeigeltSep 24, 2010
  6. FernandoBassoSep 24, 2010
  7. Andreas EricssonSep 21, 2010
  8. Jakub NarebskiSep 21, 2010
  9. FernandoBassoSep 22, 2010
  10. Andrew KellerSep 22, 2010
  11. FernandoBassoSep 22, 2010
  12. FernandoBassoSep 22, 2010
  13. Tor ArntsenSep 22, 2010
  14. Dmitry PotapovSep 22, 2010
  15. Thomas HochsteinSep 22, 2010
  16. Dmitry PotapovSep 22, 2010
  17. Dmitry PotapovSep 22, 2010

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.