This subcommand fetches the remote Git repository and commits the changes to the SVN policy repository.
Examples
In this example, the SVN policy repository is updated with the changes from the Git policy repository.
pmgit update
This subcommand fetches the remote Git repository and commits the changes to the SVN policy repository.
In this example, the SVN policy repository is updated with the changes from the Git policy repository.
pmgit update
This subcommand sets or updates setting in the pm.settings file.
Alias |
-g |
Type |
string |
Value |
<git-policy-repository-url> |
Default |
N/A |
Description: Sets the URL of the Git policy repository. This argument can be set when the Git policy management is disabled.
Syntax
--git-url <git-policy-repository-url>
Alias |
-b |
Type: |
string |
Values: |
<branch-of-policy-files> |
Default: |
master |
Description: Sets the Git branch where the policy files are stored.
Syntax
--branch <branch-of-policy-files>
Alias |
-u |
Type: |
integer |
Values: |
0-60 (minutes) |
Default: |
5 (minutes) |
Description: Sets the synchronization interval between Git and SVN. This value must be in the [0-60] minutes interval. If this argument is set to 0, periodic updates will be turned off.
Syntax
--update-interval <[0-60]>
Alias |
-a |
Type: |
string |
Values: |
<path-to-script> |
Default: |
N/A |
Description: Sets the path to a user-defined script which is run when the synchronization from Git to SVN fails due to syntax errors.
Syntax
--alert-script <path-to-script>
In this example, the name of the branch is set to production and the path to the alert script is set to /path/to/script.
pmgit set -b production -a /path/to/script
This subcommand displays information about the policy management settings.
This example shows how to display the current status of the Git policy management settings.
pmgit status
This subcommand displays on-screen help. If another subcommand is given as an argument, help for that subcommand will be displayed.
Syntax
help <subcommand>
In this example, the general help section will be displayed.
pmgit help
In this example, the help for enable subcommand will be displayed.
pmgit help enable
© ALL RIGHTS RESERVED. 이용 약관 개인정보 보호정책 Cookie Preference Center