diff --git a/llvm/docs/GettingStarted.rst b/llvm/docs/GettingStarted.rst --- a/llvm/docs/GettingStarted.rst +++ b/llvm/docs/GettingStarted.rst @@ -528,6 +528,9 @@ Please ask for help if you're having trouble with your particular git workflow. + +.. _git_pre_push_hook: + Git pre-push hook ^^^^^^^^^^^^^^^^^ diff --git a/llvm/docs/Phabricator.rst b/llvm/docs/Phabricator.rst --- a/llvm/docs/Phabricator.rst +++ b/llvm/docs/Phabricator.rst @@ -187,7 +187,7 @@ after removing tags other than "Reviewed by" and "Differential Revision". You can run `llvm/utils/git/arcfilter.sh` to clean the commit message of the current "HEAD" commit automatically. You can also setup a git hook to catch this -for you (see `Getting Started `). +for you (see :ref:`git_pre_push_hook`). Committing someone's change from Phabricator