OSDN Git Service

Update Document
[tortoisegit/TortoiseGitJp.git] / doc / source / en / TortoiseGit / tsvn_introduction.xml
1 <?xml version="1.0" encoding="UTF-8"?>\r
2 <!DOCTYPE chapter SYSTEM "../../dtd/dblite.dtd">\r
3 <chapter id="tsvn-introduction">\r
4         <title>Introduction</title>\r
5         <?dbhh topicname="HIDD_ABOUT"?>\r
6         <simplesect>\r
7                 <indexterm>\r
8                         <primary>version control</primary>\r
9                 </indexterm>\r
10                 <para>\r
11                         Version control is the art of managing changes to\r
12                         information. It has long been a critical tool for programmers,\r
13                         who typically spend their time making small changes to software\r
14                         and then undoing or checking some of those changes the next day.  \r
15                         Imagine a team of such developers working concurrently - and perhaps even\r
16                         simultaneously on the very same files! - and you can see why\r
17                         a good system is needed to <emphasis>manage the potential chaos</emphasis>.\r
18                 </para>\r
19         </simplesect>\r
20         <!-- ================================================================= -->\r
21         <!-- ======================== SECTION 1 ============================== -->\r
22         <!-- ================================================================= -->\r
23         <sect1 id="tsvn-intro-about">\r
24                 <title>What is TortoiseGit?</title>\r
25                 <para>\r
26                         TortoiseGit is a free open-source client for the\r
27                         <firstterm>Git</firstterm> version control system.\r
28                         That is, TortoiseGit manages files over time.\r
29                         Files are stored in a local <firstterm>repository</firstterm>.\r
30                         The repository is much like an ordinary file server, except that it\r
31                         remembers every change ever made to your files and directories.\r
32                         This allows you to recover older versions of your files and examine\r
33                         the history of how and when your data changed, and who changed it.\r
34                         This is why many people think of Git and version control\r
35                         systems in general as a sort of <quote>time machine</quote>.\r
36                 </para>\r
37                 <para>\r
38                         Some version control systems are also software configuration\r
39                         management (SCM) systems.  These systems are specifically\r
40                         tailored to manage trees of source code, and have many features\r
41                         that are specific to software development - such as natively\r
42                         understanding programming languages, or supplying tools for\r
43                         building software.  Git, however, is not one of these\r
44                         systems; it is a general system that can be used to manage\r
45                         <emphasis>any</emphasis> collection of files, including\r
46                         source code.\r
47                 </para>\r
48                 <para>\r
49                         Git is an <emphasis>open source, distributed version control system</emphasis>\r
50                         designed to handle everything from small to very large projects with speed and \r
51                         efficiency. Every Git clone is a full-fledged repository with complete history \r
52                         and full revision tracking capabilities, not dependent on network access or \r
53                         a central server. Branching and merging are fast and easy to do.\r
54                 </para>\r
55         </sect1>\r
56         <!-- ================================================================= -->\r
57         <!-- ======================== SECTION 2 ============================== -->\r
58         <!-- ================================================================= -->\r
59         <sect1 id="tsvn-intro-history">\r
60                 <title>TortoiseGit's History</title>\r
61                 <para>\r
62                         In 2008, Frank Li found that Git was a very good version\r
63                         control system, but it lacked a good GUI client. The idea for a\r
64                         Git client as a Windows shell integration was inspired by\r
65                         the similar client for SVN named TortoiseSVN.\r
66                 </para>\r
67                 <para>\r
68                         Frank studied the source code of TortoiseSVN and used it as a base for\r
69                         TortoiseGit. He then started the project, registered the project\r
70                         at code.google.com and put the source code online. \r
71                 </para>\r
72                 <para>\r
73                         As Git became more stable it attracted more and more users\r
74                         who also started using TortoiseGit as their Git client.\r
75                 </para>\r
76         </sect1>\r
77         <!-- ================================================================= -->\r
78         <!-- ======================== SECTION 3 ============================== -->\r
79         <!-- ================================================================= -->\r
80         <sect1 id="tsvn-intro-features">\r
81                 <title>TortoiseGit's Features</title>\r
82                 <para>\r
83                         What makes TortoiseGit such a good Git client?\r
84                         Here's a short list of features.\r
85                 </para>\r
86                 <variablelist>\r
87                         <varlistentry>\r
88                                 <term>Shell integration</term>\r
89                                 <listitem>\r
90                                         <indexterm>\r
91                                                 <primary>Windows shell</primary>\r
92                                         </indexterm>\r
93                                         <indexterm>\r
94                                                 <primary>explorer</primary>\r
95                                         </indexterm>\r
96                                         <para>\r
97                                                 TortoiseGit integrates seamlessly into the Windows shell\r
98                                                 (i.e. the explorer). This means you can keep working\r
99                                                 with the tools you're already familiar with. And you\r
100                                                 do not have to change into a different application\r
101                                                 each time you need functions of the version control!\r
102                                         </para>\r
103                                         <para>\r
104                                                 And you are not even forced to use the Windows Explorer.\r
105                                                 TortoiseGit's context menus work in many other file managers,\r
106                                                 and in the File/Open dialog which is common to most\r
107                                                 standard Windows applications.\r
108                                                 You should, however, bear in mind that TortoiseGit\r
109                                                 is intentionally developed as extension for the Windows\r
110                                                 Explorer. Thus it is possible that in other applications\r
111                                                 the integration is not as complete and e.g. the icon\r
112                                                 overlays may not be shown.\r
113                                         </para>\r
114                                 </listitem>\r
115                         </varlistentry>\r
116                         <varlistentry>\r
117                                 <term>Icon overlays</term>\r
118                                 <listitem>\r
119                                         <para>\r
120                                                 The status of every versioned file and folder is\r
121                                                 indicated by small overlay icons. That way you can see\r
122                                                 right away what the status of your working copy is.\r
123                                         </para>\r
124                                 </listitem>\r
125                         </varlistentry>\r
126                         <varlistentry>\r
127                                 <term>Easy access to Git commands</term>\r
128                                 <listitem>\r
129                                         <para>\r
130                                                 All Git commands are available from the explorer\r
131                                                 context menu. TortoiseGit adds its own submenu there.\r
132                                         </para>\r
133                                 </listitem>\r
134                         </varlistentry>\r
135                 </variablelist>\r
136                 <para>\r
137                         Since TortoiseGit is a Git client, we would also like to show you\r
138                         some of the features of Git itself:\r
139                 </para>\r
140                 <variablelist>\r
141                         <varlistentry>\r
142                                 <term>Distributed version control</term>\r
143                                 <listitem>\r
144                                         <para>\r
145                                                  Like most other modern version control systems, Git \r
146                                                  gives each developer a local copy of the entire development \r
147                                                  history, and changes are copied from one such repository \r
148                                                  to another. These changes are imported as additional \r
149                                                  development branches, and can be merged in the same way \r
150                                                  as a locally developed branch. Repositories can be easily \r
151                                                  accessed via the efficient Git protocol (optionally wrapped \r
152                                                  in ssh for authentication and security) or simply using \r
153                                                  HTTP - you can publish your repository anywhere without \r
154                                                  any special webserver configuration required.\r
155                                         </para>\r
156                                 </listitem>\r
157                         </varlistentry>\r
158                         <varlistentry>\r
159                                 <term>Atomic commits</term>\r
160                                 <listitem>\r
161                                         <para>\r
162                                                 A commit either goes into the repository completely,\r
163                                                 or not at all. \r
164                                         </para>\r
165                                 </listitem>\r
166                         </varlistentry>\r
167                         <varlistentry>\r
168                                 <term>Strong support for non-linear development</term>\r
169                                 <listitem>\r
170                                         <para>\r
171                                                 Git supports rapid and convenient branching and merging, \r
172                                                 and includes powerful tools for visualizing and navigating \r
173                                                 a non-linear development history.                                       \r
174                                         </para>\r
175                                 </listitem>\r
176                         </varlistentry>\r
177                         <varlistentry>\r
178                                 <term>Efficient handling of large projects</term>\r
179                                 <listitem>\r
180                                         <para>\r
181                                                 Git is very fast and scales well even when working with \r
182                                                 large projects and long histories. It is commonly an order \r
183                                                 of magnitude faster than most other version control systems, \r
184                                                 and several orders of magnitude faster on some operations. \r
185                                                 It also uses an extremely efficient packed format for long-term \r
186                                                 revision storage that currently tops any other open source \r
187                                                 version control system.\r
188                                         </para>\r
189                                 </listitem>\r
190                         </varlistentry>\r
191                         <varlistentry>\r
192                                 <term>Cryptographic authentication of history</term>\r
193                                 <listitem>\r
194                                         <para>\r
195                                                 The Git history is stored in such a way that the name of a \r
196                                                 particular revision (a "commit" in Git terms) depends upon \r
197                                                 the complete development history leading up to that commit. \r
198                                                 Once it is published, it is not possible to change the old \r
199                                                 versions without it being noticed. Also, tags can be \r
200                                                 cryptographically signed. \r
201                                         </para>\r
202                                 </listitem>\r
203                         </varlistentry>\r
204                         <varlistentry>\r
205                                 <term>Efficient branching and tagging</term>\r
206                                 <listitem>\r
207                                         <para>\r
208                                                 The cost of branching and tagging need not be\r
209                                                 proportional to the project size. Branch is just head of commits. \r
210                                                 Tag is friend name of commit hash. \r
211                                         </para>\r
212                                 </listitem>\r
213                         </varlistentry>\r
214                         <varlistentry>\r
215                                 <term>Toolkit design.</term>\r
216                                 <listitem>\r
217                                         <para>\r
218                                                 Following the Unix tradition, Git is a collection of many small \r
219                                                 tools written in C, and a number of scripts that provide convenient \r
220                                                 wrappers. Git provides tools for both easy human usage and easy \r
221                                                 scripting to perform new clever operations.\r
222                                         </para>\r
223                                 </listitem>\r
224                         </varlistentry>\r
225                 </variablelist>\r
226         </sect1>\r
227         <!-- ================================================================= -->\r
228         <!-- ======================== SECTION 4 ============================== -->\r
229         <!-- ================================================================= -->\r
230         <sect1 id="tsvn-intro-install">\r
231                 <title>Installing TortoiseGit</title>\r
232                 <sect2>\r
233                         <title>System requirements</title>\r
234                         <para>\r
235                                 TortoiseGit runs on Windows 2000 SP2, Windows XP or higher.\r
236                                 Windows 98, Windows ME and Windows NT4 are no longer supported.\r
237                         </para>\r
238                         <para>\r
239                                 If you encounter any problems during or after installing\r
240                                 TortoiseGit please refer to\r
241                                 <xref linkend="tsvn-faq"/>\r
242                                 first.\r
243                         </para>\r
244                 </sect2>\r
245                 <sect2>\r
246                         <title>Installation</title>\r
247                         <indexterm>\r
248                                 <primary>install</primary>\r
249                         </indexterm>\r
250                         <para>\r
251                                 TortoiseGit comes with an easy to use installer. Double click on\r
252                                 the installer file and follow the instructions. The installer\r
253                                 will take care of the rest. \r
254                         </para>\r
255                         <important>\r
256                                 <para>\r
257                                         You need Administrator privileges to install TortoiseGit.\r
258                                 </para>\r
259                         </important>\r
260                 </sect2>\r
261                 <sect2 id="tsvn-intro-install-lang">\r
262                         <title>Language Packs(not start)</title>\r
263                         <indexterm>\r
264                                 <primary>language packs</primary>\r
265                         </indexterm>\r
266                         <indexterm>\r
267                                 <primary>translations</primary>\r
268                         </indexterm>\r
269                         <para>\r
270                                 The TortoiseGit user interface has been translated into many\r
271                                 different languages, so you may be able to download a language\r
272                                 pack to suit your needs.\r
273                                 You can find the language packs on our \r
274                                 <ulink url="http://TortoiseGit.net/translation_status">\r
275                                         <citetitle>translation status page</citetitle>\r
276                                 </ulink>.\r
277                                 And if there is no language pack available yet, why not join\r
278                                 the team and submit your own translation ;-)\r
279                         </para>\r
280                         <para>\r
281                                 Each language pack is packaged as a <literal>.exe</literal> installer.\r
282                                 Just run the install program and follow the instructions.\r
283                                 Next time you restart, the translation will be available.\r
284                         </para>\r
285                 </sect2>\r
286                 <sect2 id="tsvn-intro-instalsl-spell">\r
287                         <title>Spellchecker</title>\r
288                         <indexterm>\r
289                                 <primary>spellchecker</primary>\r
290                         </indexterm>\r
291                         <indexterm>\r
292                                 <primary>dictionary</primary>\r
293                         </indexterm>\r
294                         <para>\r
295                                 TortoiseGit includes a spell checker which allows you to check your\r
296                                 commit log messages. This is especially useful if the project language\r
297                                 is not your native language.\r
298                                 The spell checker uses the same dictionary files as\r
299                                 <ulink url="http://openoffice.org">\r
300                                         <citetitle>OpenOffice</citetitle>\r
301                                 </ulink>\r
302                                 and \r
303                                 <ulink url="http://mozilla.org">\r
304                                         <citetitle>Mozilla</citetitle>\r
305                                 </ulink>.\r
306                         </para>\r
307                         <para>\r
308                                 The installer automatically adds the US and UK English dictionaries.\r
309                                 If you want other languages, the easiest option is simply to\r
310                                 install one of TortoiseGit's language packs. This will install\r
311                                 the appropriate dictionary files as well as the TortoiseGit local\r
312                                 user interface.\r
313                                 Next time you restart, the dictionary will be available too.\r
314                         </para>\r
315                         <para>\r
316                                 Or you can install the dictionaries yourself. If you have OpenOffice or\r
317                                 Mozilla installed, you can copy those dictionaries, which are located\r
318                                 in the installation folders for those applications.\r
319                                 Otherwise, you need to download the required dictionary files from\r
320                                 <ulink url="http://wiki.services.openoffice.org/wiki/Dictionaries">\r
321                                         <citetitle>http://wiki.services.openoffice.org/wiki/Dictionaries</citetitle>\r
322                                 </ulink>\r
323                         </para>\r
324                         <para>\r
325                                 Once you have got the dictionary files, you\r
326                                 probably need to rename them so that the filenames only have\r
327                                 the locale chars in it.\r
328                                 Example:\r
329                                 <itemizedlist>\r
330                                         <listitem>\r
331                                                 <para>\r
332                                                         <filename>en_US.aff</filename>\r
333                                                 </para>\r
334                                         </listitem>\r
335                                         <listitem>\r
336                                                 <para>\r
337                                                         <filename>en_US.dic</filename>\r
338                                                 </para>\r
339                                         </listitem>\r
340                                 </itemizedlist>\r
341                                 Then just copy them to the <filename>bin</filename> sub-folder of\r
342                                 the TortoiseGit installation folder. Normally this will be\r
343                                 <filename>C:\Program Files\TortoiseGit\bin</filename>.\r
344                                 If you don't want to litter the <filename>bin</filename> sub-folder,\r
345                                 you can instead place your spell checker files in\r
346                                 <filename>C:\Program Files\TortoiseGit\Languages</filename>. If that folder isn't\r
347                                 there, you have to create it first.\r
348                                 The next time you start TortoiseGit, the spell checker will be available.\r
349                         </para>\r
350                         <para>\r
351                                 If you install multiple dictionaries, TortoiseGit uses these rules\r
352                                 to select which one to use.\r
353                                 <orderedlist>\r
354                                         <listitem>\r
355                                                 <para>\r
356                                                 Check the <literal>tsvn:projectlanguage</literal> setting.\r
357                                                 Refer to <xref linkend="tsvn-dug-propertypage"/> for information\r
358                                                 about setting project properties.\r
359                                                 </para>\r
360                                         </listitem>\r
361                                         <listitem>\r
362                                                 <para>\r
363                                                 If no project language is set, or that language is not\r
364                                                 installed, try the language corresponding to the Windows locale.\r
365                                                 </para>\r
366                                         </listitem>\r
367                                         <listitem>\r
368                                                 <para>\r
369                                                 If the exact Windows locale doesn't work, try the\r
370                                                 <quote>Base</quote> language, eg.\r
371                                                 <literal>de_CH</literal> (Swiss-German) falls back to\r
372                                                 <literal>de_DE</literal> (German).\r
373                                                 </para>\r
374                                         </listitem>\r
375                                         <listitem>\r
376                                                 <para>\r
377                                                 If none of the above works, then the default language\r
378                                                 is English, which is included with the standard installation.\r
379                                                 </para>\r
380                                         </listitem>\r
381                                 </orderedlist>\r
382                         </para>\r
383                 </sect2>\r
384         </sect1>\r
385 </chapter>\r
386 <!--\r
387 local variables:\r
388 sgml-parent-document: ("book.xml" "chapter")\r
389 end:\r
390 -->\r