Skip to content

Commit

Permalink
add other remote git project
Browse files Browse the repository at this point in the history
  • Loading branch information
badetitou authored Nov 13, 2023
1 parent 42dc6af commit bd0d4d5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion General/Baselines.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ To depend on a git project, you can use the method `#baseline:with:`.
```Smalltalk
spec
baseline: '{BaselineName}'
with: [ spec repository: '{prefix}://{owner}/{projectName}:{version}/{subfolder}' ]
with: [ spec repository: '{prefix}://{url}:{owner}/{projectName}:{version}/{subfolder}' ]
```

This snippet should be configured with:
Expand All @@ -163,6 +163,8 @@ This snippet should be configured with:
- `github` for github
- `bitbucket` for bitbucket
- `gitlab` for gitlab
- `git` for others (and {url} is thus mandatory)
- `{url}`: base url to the git host. Mandatory when prefix `git` is used.
- `{owner}`: Name of the user or organization hosting the project
- `{projectName}`: Name of the project
- `{version}`: This parameter is optional (defaults to master). It can be the name of a branch, a tag like `'v1.2.0'` or `'v1.x.x'`, or a the SHA of a commit
Expand Down

0 comments on commit bd0d4d5

Please sign in to comment.