[PATCH] D147276: docs: Document policy around GitHub branches

Tom Stellard via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 19 15:41:05 PDT 2023


tstellar updated this revision to Diff 515111.
tstellar added a comment.

Add a link to documentation about creating pull requests from forks.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D147276/new/

https://reviews.llvm.org/D147276

Files:
  llvm/docs/GitHub.rst


Index: llvm/docs/GitHub.rst
===================================================================
--- llvm/docs/GitHub.rst
+++ llvm/docs/GitHub.rst
@@ -12,6 +12,17 @@
 This page describes how the LLVM Project users and developers can
 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.
+
+For pull requests, please push a branch to your fork of the llvm-project and
+`create a pull request from the fork <https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request-from-a-fork>`_.
+
+
 Releases
 ========
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147276.515111.patch
Type: text/x-patch
Size: 908 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230419/14ab036d/attachment.bin>


More information about the llvm-commits mailing list