mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-01 15:40:53 +00:00
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:
parent
24ad111a05
commit
7a362f4111
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user