|
5 | 5 | Checkout a branch of a Git repository to ScriptRunner Library.
|
6 | 6 | If you specifiy SparseDirs, only the given directories will be checked out.
|
7 | 7 | If you want to checkout a private repository, you must specify the GitUserCredential.
|
| 8 | + NOTE: |
| 9 | + The script requires [Git for Windows](https://git-for-windows.github.io). |
| 10 | + You can download the tool set from [Git for Windows Releases at Github](https://github.com/git-for-windows/git/releases). |
| 11 | + You must also install the [Git Credential Manager](https://github.com/git-ecosystem/git-credential-manager#readme), |
| 12 | + which is shipped with the Git for Windows installation. |
8 | 13 | .PARAMETER GitRepoUrl
|
9 | 14 | URL of the git repository. e.g.
|
10 | 15 | - 'https://github.com/my-org/my-repo.git.git'
|
|
68 | 73 | the use and the consequences of the use of this freely available script.
|
69 | 74 | PowerShell is a product of Microsoft Corporation. ScriptRunner is a product of ScriptRunner Software GmbH.
|
70 | 75 | © ScriptRunner Software GmbH
|
| 76 | +
|
| 77 | +.LINK |
| 78 | + Git for Windows |
| 79 | + https://github.com/git-for-windows/git#readme |
| 80 | +
|
| 81 | +.LINK |
| 82 | + Git for Windows Releases |
| 83 | + https://github.com/git-for-windows/git/releases |
| 84 | +
|
| 85 | +.LINK |
| 86 | + Git Credential Manager |
| 87 | + https://github.com/git-ecosystem/git-credential-manager#readme |
| 88 | +
|
71 | 89 | .LINK
|
72 | 90 | Azure DevOps Services or Server - Use personal access tokens to authenticate
|
73 | 91 | https://learn.microsoft.com/en-us/azure/devops/organizations/accounts/use-personal-access-tokens-to-authenticate
|
|
84 | 102 | Bitbucket - Using Repository Access Tokens with the Git command line interface
|
85 | 103 | https://support.atlassian.com/bitbucket-cloud/docs/using-access-tokens/
|
86 | 104 |
|
| 105 | +.LINK |
| 106 | + Sync Git repositories to ScriptRunner |
| 107 | + https://github.com/scriptrunner/ActionPacks/tree/master/ScriptRunner/Script%20Synchronization/GitSync#readme |
87 | 108 | #>
|
88 | 109 |
|
89 | 110 | [CmdletBinding(DefaultParameterSetName='Default')]
|
|
0 commit comments