summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitd92a5fe2fb73410cca111a88e8c78d0593f76fb1 (patch)
treedd03e10c7d017a2b7224e214a1bf907a92e26b08 /llvm/docs/GettingStarted.html
parentd9b1c6ecd01075289c0caade3922a46dfba80392 (diff)
downloadbcm5719-llvm-d92a5fe2fb73410cca111a88e8c78d0593f76fb1.tar.gz
bcm5719-llvm-d92a5fe2fb73410cca111a88e8c78d0593f76fb1.zip
docs/GettingStarted.html: [Git] Mention branch.master.rebase for the tracking branch.
Thanks to Jeff Yasskin to reword. llvm-svn: 137443
Diffstat (limited to 'llvm/docs/GettingStarted.html')
-rw-r--r--llvm/docs/GettingStarted.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/llvm/docs/GettingStarted.html b/llvm/docs/GettingStarted.html
index 5e1985ef132..39104dff146 100644
--- a/llvm/docs/GettingStarted.html
+++ b/llvm/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>
OpenPOWER on IntegriCloud