File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,11 @@ Getting the Source Code and Building LLVM
40
40
41
41
``git clone --depth 1 https://github.com/llvm/llvm-project.git ``
42
42
43
+ * You are likely only interested in the main branch moving forward, if
44
+ you don't want `git fetch ` (or `git pull `) to download user branches, use:
45
+
46
+ ``sed 's#fetch = +refs/heads/\*:refs/remotes/origin/\*#fetch = +refs/heads/main:refs/remotes/origin/main# -i llvm-project/.git/config ``
47
+
43
48
#. Configure and build LLVM and Clang:
44
49
45
50
* ``cd llvm-project ``
Original file line number Diff line number Diff line change @@ -17,10 +17,11 @@ participate in the project using GitHub.
17
17
18
18
Branches
19
19
========
20
- Do not create any branches in the llvm/llvm-project repository. This repository
21
- is reserved for official project branches only. We may relax this rule in
22
- the future if needed to support "stacked" pull request, but in that case only
23
- branches being used for "stacked" pull requests will be allowed.
20
+
21
+ It is possible to create branches that starts with `users/<username>/ `, however this is
22
+ intended to be able to support "stacked" pull-request. Do not create any branches in the
23
+ llvm/llvm-project repository otherwise, please use a fork (see below). User branches that
24
+ aren't associated with a pull-request **will be deleted **.
24
25
25
26
Pull Requests
26
27
=============
You can’t perform that action at this time.
0 commit comments