@@ -55,10 +55,10 @@ defaults:
55
55
ssh_key_path : /etc/git-secret/ssh
56
56
ssh_known_hosts_path : /etc/git-secret/known_hosts
57
57
repositories :
58
- - remote : https://github.com/utilitywarehouse/git-mirror # required
59
58
# remote is the git URL of the remote repository to mirror.
60
59
# supported urls are '[email protected] :org/repo.git','ssh://[email protected] /org/repo.git'
61
60
# or 'https://host.xz/org/repo.git'. '.git' suffix is optional
61
+ - remote : https://github.com/utilitywarehouse/git-mirror # required
62
62
63
63
# following fields are optional.
64
64
# if these fields are not specified values from defaults section will be used
@@ -70,19 +70,19 @@ repositories:
70
70
ssh_key_path : /some/other/location
71
71
ssh_known_hosts_path : /some/other/location
72
72
worktrees :
73
- - link : alerts # required
74
73
# link is the path at which to create a symlink to the worktree dir
75
74
# if path is not absolute it will be created under repository root
75
+ - link : alerts # required
76
76
77
- ref : main
78
77
# ref represents the git reference of the worktree branch, tags or hash
79
78
# are supported. default is HEAD
79
+ ref : main
80
80
81
+ # pathspecs is the pattern used to checkout paths in Git commands.
82
+ # its optional, if omitted whole repo will be checked out
81
83
pathspecs :
82
84
- path
83
85
- 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
86
86
` ` `
87
87
For more details about ` pathspecs`, see [git glossary](https://git-scm.com/docs/gitglossary#Documentation/gitglossary.txt-aiddefpathspecapathspec)
88
88
0 commit comments