This is git, not subversion
[TortoiseGit.git] / doc / source / en / TortoiseMerge / tme_introduction.xml
blob4ba7be74b49993ac0a3ec914c80fde952a0cfe3b
1 <?xml version="1.0" encoding="UTF-8"?>\r
2 <!DOCTYPE chapter SYSTEM "../../dtd/dblite.dtd">\r
3 <chapter id="tmerge-intro">\r
4     <title>Introduction</title>\r
5     <simplesect>\r
6         <para>\r
7         </para>\r
8     </simplesect>\r
9     <!-- ================================================================= -->\r
10     <!-- ======================== SECTION 1 ============================== -->\r
11     <!-- ================================================================= -->\r
12     <sect1 id="tmerge-intro-overview">\r
13         <title>Overview</title>\r
14         <para>\r
15             TortoiseGitMerge is a free/open-source application. It lets you see\r
16             differences in text files, merge those changes and even review and\r
17             apply unified diff files, often called <firstterm>patches</firstterm>.\r
18         </para>\r
19         <para>\r
20             While working on text files, e.g. source files in your favourite\r
21             programming language, or html/xml files for your documentation or\r
22             website, you will often have a situation where you need to compare\r
23             different versions of those files. Sometimes you get a different\r
24             version from someone else, sometimes you just want to see the changes\r
25             you've made.\r
26         </para>\r
27         <para>\r
28             If you're working with a version control system (e.g. Git)\r
29             then you sometimes get <emphasis>conflicts</emphasis> when you\r
30             update your working copy. This happens if someone else changed the\r
31             same parts of the file you're currently working on as you did.\r
32             Then you have to resolve those conflicts manually. This is where\r
33             TortoiseGitMerge can help you.\r
34         </para>\r
35         <para>\r
36             The following diagram shows you the relationships between the\r
37             files involved in a conflict:\r
38         </para>\r
39         <figure id="tmerge-ch1-dia1">\r
40             <title>File Conflict</title>\r
41             <graphic fileref="images/mergeprinciple.png"/>\r
42         </figure>\r
43         <para>\r
44             A conflict can also occur if you try to apply an outdated patch file.\r
45             In such cases, without TortoiseGitMerge, you would either have to ask\r
46             the person you got that patch file from for a current version or try\r
47             to apply that patch file manually.\r
48         </para>\r
49         <para>\r
50             But now with TortoiseGitMerge this isn't necessary anymore -\r
51             at least not if you're working with a version control system like\r
52             Git. TortoiseGitMerge parses the patch file for the\r
53             revision/version the patch was created for and automatically tries\r
54             to fetch that specific version from your source-control.\r
55             Then it applies the patch and lets you review both your changes\r
56             to the file, and theirs. Then you can decide which changes\r
57             you want to keep.\r
58         </para>\r
59     </sect1>\r
60     <!-- ================================================================= -->\r
61     <!-- ======================== SECTION 2 ============================== -->\r
62     <!-- ================================================================= -->\r
63     <sect1 id="tmerge-intro-history">\r
64         <title>TortoiseGitMerge's History</title>\r
65         <para>\r
66                         TortoiseGitMerge is based on TortoiseMerge as TortoiseGit is based on TortoiseSVN. TortoiseSVN ships TortoiseMerge so we do with TortoiseGit (with a Git enhanced version).\r
67         </para>\r
68     </sect1>\r
69 </chapter>\r