aboutsummaryrefslogtreecommitdiffstats
path: root/docs/GettingStarted.html
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2011-08-12 07:48:01 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2011-08-12 07:48:01 +0000
commit7a362f4111b3620601acacc9691539a3d1f67b6f (patch)
tree1838ad7b9db1d8b19cc9bb52f2fc1db31d8e85c7 /docs/GettingStarted.html
parent24ad111a05b9d0e60a79c4f915bf1bb1d24db40b (diff)
downloadexternal_llvm-7a362f4111b3620601acacc9691539a3d1f67b6f.zip
external_llvm-7a362f4111b3620601acacc9691539a3d1f67b6f.tar.gz
external_llvm-7a362f4111b3620601acacc9691539a3d1f67b6f.tar.bz2
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
Diffstat (limited to 'docs/GettingStarted.html')
-rw-r--r--docs/GettingStarted.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/GettingStarted.html b/docs/GettingStarted.html
index 5e1985e..39104df 100644
--- a/docs/GettingStarted.html
+++ b/docs/GettingStarted.html
@@ -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>