Additional Info
Requires Mule Enterprise License |
No [remove] |
Requires Entitlement |
No [remove] |
Mule Version |
3.5.0 or higher |
<git:config>
Connection Management
<git:clone-repository>
Clone a repository into a new directory or resset it if it exists ../../../doc/mule-module-git.xml.sample git:clone
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
uri |
The (possibly remote) repository to clone from. |
x |
||
bare |
boolean |
True if you want a bare Git repository, false otherwise. |
false |
|
remote |
Name of the remote to keep track of the upstream repository. |
origin |
|
|
branch |
Name of the local branch into which the remote will be cloned. |
HEAD |
|
|
overrideDirectory |
Name of the directory to use for git repository |
|
<git:reset-repository>
<git:add>
Add file contents to the index ../../../doc/mule-module-git.xml.sample git:add
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
filePatterns |
List of file patterns to add content from. Also a leading directory name (e.g. dir to add dir/file1 and dir/file2) can be given to add all files in the directory, recursively. Use semicolon (";") to separete patterns |
|
||
forceAll |
boolean |
Add all files |
false |
|
overrideDirectory |
Name of the directory to use for git repository |
|
<git:create-branch>
Create a local branch ../../../doc/mule-module-git.xml.sample git:create-branch
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
branchName |
Name of the new branch |
x |
||
force |
boolean |
If true and the branch with the given name already exists, the start-point of an existing branch will be set to a new start-point; if false, the existing branch will not be changed. |
false |
|
startPoint |
The new branch head will point to this commit. It may be given as a branch name, a commit-id, or a tag. If this option is omitted, the current HEAD will be used instead. |
HEAD |
|
|
overrideDirectory |
Name of the directory to use for git repository |
|
<git:delete-branch>
Delete local branch ../../../doc/mule-module-git.xml.sample git:delete-branch
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
branchName |
Name of the branch to delete |
x |
||
force |
boolean |
If false a check will be performed whether the branch to be deleted is already merged into the current branch and deletion will be refused in this case |
x |
|
overrideDirectory |
Name of the directory to use for git repository |
|
<git:commit>
Record changes to the repository ../../../doc/mule-module-git.xml.sample git:commit
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
msg |
Commit message |
x |
||
committerName |
Name of the person performing this commit |
x |
||
committerEmail |
Email of the person performing this commit |
x |
||
authorName |
Name of the author of the changes to commit |
|
||
authorEmail |
Email of the author of the changes to commit |
|
||
all |
boolean |
If set to true the Commit command automatically stages files that have been modified and deleted, but new files not known by the repository are not affected. |
false |
|
overrideDirectory |
Name of the directory to use for git repository |
|
<git:push>
Update remote refs along with associated objects ../../../doc/mule-module-git.xml.sample git:push
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
remote |
The remote (uri or name) used for the push operation. |
origin |
|
|
force |
boolean |
Sets the force preference for push operation |
false |
|
overrideDirectory |
Name of the directory to use for git repository |
|
<git:pull>
Fetch from and merge with another repository or a local branch ../../../doc/mule-module-git.xml.sample git:pull
<git:fetch>
Fetch changes from another repository ../../../doc/mule-module-git.xml.sample git:fetch
<git:checkout>
Checkout a local branch or create a local branch from a remote branch ../../../doc/mule-module-git.xml.sample git:checkout or ../../../doc/mule-module-git.xml.sample git:checkout
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
branch |
Name of the branch to checkout |
x |
||
startPoint |
If specified creates a new branch pointing to this startPoint |
|
||
overrideDirectory |
Name of the directory to use for git repository |
|