Skip to content

Commit 0550084

Browse files
committed
fix comments position
1 parent 5914b57 commit 0550084

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

readme.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ defaults:
5555
ssh_key_path: /etc/git-secret/ssh
5656
ssh_known_hosts_path: /etc/git-secret/known_hosts
5757
repositories:
58-
- remote: https://github.com/utilitywarehouse/git-mirror # required
5958
# remote is the git URL of the remote repository to mirror.
6059
# supported urls are '[email protected]:org/repo.git','ssh://[email protected]/org/repo.git'
6160
# or 'https://host.xz/org/repo.git'. '.git' suffix is optional
61+
- remote: https://github.com/utilitywarehouse/git-mirror # required
6262

6363
# following fields are optional.
6464
# if these fields are not specified values from defaults section will be used
@@ -70,19 +70,19 @@ repositories:
7070
ssh_key_path: /some/other/location
7171
ssh_known_hosts_path: /some/other/location
7272
worktrees:
73-
- link: alerts # required
7473
# link is the path at which to create a symlink to the worktree dir
7574
# if path is not absolute it will be created under repository root
75+
- link: alerts # required
7676

77-
ref: main
7877
# ref represents the git reference of the worktree branch, tags or hash
7978
# are supported. default is HEAD
79+
ref: main
8080

81+
# pathspecs is the pattern used to checkout paths in Git commands.
82+
# its optional, if omitted whole repo will be checked out
8183
pathspecs:
8284
- path
8385
- path2/*.yaml
84-
# pathspecs is the pattern used to checkout paths in Git commands.
85-
# its optional, if omitted whole repo will be checked out
8686
```
8787
For more details about `pathspecs`, see [git glossary](https://git-scm.com/docs/gitglossary#Documentation/gitglossary.txt-aiddefpathspecapathspec)
8888

0 commit comments

Comments
 (0)