diff options
| author | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-08-12 07:48:01 +0000 |
|---|---|---|
| committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-08-12 07:48:01 +0000 |
| commit | d92a5fe2fb73410cca111a88e8c78d0593f76fb1 (patch) | |
| tree | dd03e10c7d017a2b7224e214a1bf907a92e26b08 /llvm/docs/GettingStarted.html | |
| parent | d9b1c6ecd01075289c0caade3922a46dfba80392 (diff) | |
| download | bcm5719-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.html | 13 |
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>"git pull --rebase"</tt> +instead of <tt>"git pull"</tt> to avoid generating a non-linear +history in your clone. +To configure <tt>"git pull"</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> |

