mirror of
https://github.com/Kitware/CMake.git
synced 2025-12-31 02:39:48 -06:00
ExternalProject: note the default of GIT_TAG being master
Reported on Discourse:
https://discourse.cmake.org/t/fetchcontent-makeavailable-invalid-reference-master/6386
This commit is contained in:
@@ -301,6 +301,9 @@ External Project Definition
|
||||
If ``GIT_SHALLOW`` is enabled then ``GIT_TAG`` works only with
|
||||
branch names and tags. A commit hash is not allowed.
|
||||
|
||||
Note that if not provided, ``GIT_TAG`` defaults to ``master``, not the
|
||||
default Git branch name.
|
||||
|
||||
``GIT_REMOTE_NAME <name>``
|
||||
The optional name of the remote. If this option is not specified, it
|
||||
defaults to ``origin``.
|
||||
|
||||
Reference in New Issue
Block a user