mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-24 20:44:09 +00:00
Update GitHub doc to mention that we accepts user branches for Stacked PRs (#73774)
This isn't yet a guide on how to do stacked PRs.
This commit is contained in:
parent
89e775ac81
commit
725a04066a
@ -40,6 +40,11 @@ Getting the Source Code and Building LLVM
|
||||
|
||||
``git clone --depth 1 https://github.com/llvm/llvm-project.git``
|
||||
|
||||
* You are likely only interested in the main branch moving forward, if
|
||||
you don't want `git fetch` (or `git pull`) to download user branches, use:
|
||||
|
||||
``sed 's#fetch = +refs/heads/\*:refs/remotes/origin/\*#fetch = +refs/heads/main:refs/remotes/origin/main# -i llvm-project/.git/config``
|
||||
|
||||
#. Configure and build LLVM and Clang:
|
||||
|
||||
* ``cd llvm-project``
|
||||
|
@ -17,10 +17,11 @@ participate in the project using GitHub.
|
||||
|
||||
Branches
|
||||
========
|
||||
Do not create any branches in the llvm/llvm-project repository. This repository
|
||||
is reserved for official project branches only. We may relax this rule in
|
||||
the future if needed to support "stacked" pull request, but in that case only
|
||||
branches being used for "stacked" pull requests will be allowed.
|
||||
|
||||
It is possible to create branches that starts with `users/<username>/`, however this is
|
||||
intended to be able to support "stacked" pull-request. Do not create any branches in the
|
||||
llvm/llvm-project repository otherwise, please use a fork (see below). User branches that
|
||||
aren't associated with a pull-request **will be deleted**.
|
||||
|
||||
Pull Requests
|
||||
=============
|
||||
|
Loading…
x
Reference in New Issue
Block a user