ADD '.git' ending to git clone with CI_JOB_TOKEN for clarity
This commit is contained in:
parent
bb879e7f75
commit
e704cd09f7
1 changed files with 1 additions and 1 deletions
|
@ -185,7 +185,7 @@ The [Job environment variable][jobenv] `CI_JOB_TOKEN` can be used to
|
|||
authenticate any clones of dependent repositories. For example:
|
||||
|
||||
```
|
||||
git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/myuser/mydependentrepo
|
||||
git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/<user>/<mydependentrepo>.git
|
||||
```
|
||||
|
||||
It can also be used for system-wide authentication
|
||||
|
|
Loading…
Reference in a new issue