Page History
...
Invoke-JS7GitRepositoryClone [-Folder] <String> [-Local] [-UriUrl] <Uri> [[-Timeout] <Int32>] [[-AuditComment] <String>] [[-AuditTimeSpent] <Int32>] [[-AuditTicketLink] <Uri>] [<CommonParameters>]
...
This cmdlet clones a remote Git repository to a local repository.
The local repository is populated from the remote Git repository and
is linked to the remote Git repository.
A local directory located in JETTY_BASE/resources/joc/repositories/rollout/TestCases
is mapped to a JOC Cockpit /TestCases inventory folder.
This cmdlet corresponds to using the following Git command:
* git clone <uri><url>
The following REST Web Service API resources are used:
* /inventory/repository/git/clone
...
Required? | false |
Position? | named |
Default value | False |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
...
Url
-Uri Url <Uri>
Specifies the URI URL of the remote Git repository, for example: git@github.com:sos-berlin/JS7Demo.git
...
PS > Invoke-JS7GitRepositoryClone -Folder /TestCases -Uri Url git@github.com:sos-berlin/JS7Demo.git
...