docs/GettingStarted.html: [Git] Mention branch.master.rebase for the tracking branch.

Thanks to Jeff Yasskin to reword.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137443 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
NAKAMURA Takumi 2011-08-12 07:48:01 +00:00
parent 24ad111a05
commit 7a362f4111

View File

@ -814,6 +814,19 @@ cd llvm/tools
git clone http://llvm.org/git/clang.git
</pre>
<p>
Since the upstream repository is in Subversion, you should use
<tt>&quot;git pull --rebase&quot;</tt>
instead of <tt>&quot;git pull&quot;</tt> to avoid generating a non-linear
history in your clone.
To configure <tt>&quot;git pull&quot;</tt> to pass <tt>--rebase</tt> by default
on the master branch, run the following command:
</p>
<pre class="doc_code">
git config branch.master.rebase true
</pre>
<h4>For developers to work with git-svn</h4>
<div>