[docs] Improve HowTo commit changes from git

Summary: As a novice here I tried to `git push` my changes for a while before figuring out the correct workflow which is described on other pages. This small change doesn't reduce redundancy between those pages, but at least readers can follow the links now.

Reviewers: Kokan, Jim

Reviewed By: Kokan, Jim

Subscribers: riccibruno, kiszk, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D72077
This commit is contained in:
Jim Lin 2020-01-08 09:48:01 +08:00
parent 9de6a39872
commit f90a2c2d2c
1 changed files with 5 additions and 1 deletions

View File

@ -491,7 +491,11 @@ For developers to commit changes from Git
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Once a patch is reviewed, you should rebase it, re-test locally, and commit the
changes to LLVM's master branch. This is done using `git push`.
changes to LLVM's master branch. This is done using `git push` if you have the
required access rights. See `committing a change
<Phabricator.html#committing-a-change>`_ for Phabricator based commits or
`Developer Policy <DeveloperPolicy.html#obtaining-commit-access>`_ for commit
access.
LLVM currently has a linear-history policy, which means that merge commits are
not allowed. The `llvm-project` repo on github is configured to reject pushes