| java.lang.Object | |
| ↳ | org.mule.module.git.GitConnector |
Known Direct Subclasses
|
Known Indirect Subclasses
|
GitConnector is a Cloud Connector Facade for GIT SCM.
It allows to
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| directory | Directory of your git repository | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Add file contents to the index
| |||||||||||
Checkout a local branch or create a local branch from a remote branch
or
| |||||||||||
Clone a repository into a new directory
| |||||||||||
Record changes to the repository
| |||||||||||
Create a local branch
| |||||||||||
Delete local branch
| |||||||||||
Fetch changes from another repository
| |||||||||||
Fetch from and merge with another repository or a local branch
| |||||||||||
Update remote refs along with associated objects
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Directory of your git repository
Add file contents to the index
| filePattern | File 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. |
|---|---|
| overrideDirectory | Name of the directory to use for git repository |
Checkout a local branch or create a local branch from a remote branch or
| branch | Name of the branch to checkout |
|---|---|
| startPoint | If specified creates a new branch pointing to this startPoint |
| overrideDirectory | Name of the directory to use for git repository |
Clone a repository into a new directory
| uri | The (possibly remote) repository to clone from. |
|---|---|
| bare | True if you want a bare Git repository, false otherwise. |
| remote | Name of the remote to keep track of the upstream repository. |
| branch | Name of the local branch into which the remote will be cloned. |
| overrideDirectory | Name of the directory to use for git repository |
Record changes to the repository
| msg | Commit message |
|---|---|
| committerName | Name of the person performing this commit |
| committerEmail | Email of the person performing this commit |
| authorName | Name of the author of the changes to commit |
| authorEmail | Email of the author of the changes to commit |
| overrideDirectory | Name of the directory to use for git repository |
Create a local branch
| name | Name of the new branch |
|---|---|
| force | 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. |
| 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. |
| overrideDirectory | Name of the directory to use for git repository |
Delete local branch
| name | Name of the branch to delete |
|---|---|
| force | 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 |
| overrideDirectory | Name of the directory to use for git repository |
Fetch changes from another repository
| overrideDirectory | Name of the directory to use for git repository |
|---|
Fetch from and merge with another repository or a local branch
| overrideDirectory | Name of the directory to use for git repository |
|---|
Update remote refs along with associated objects
| remote | The remote (uri or name) used for the push operation. |
|---|---|
| force | Sets the force preference for push operation |
| overrideDirectory | Name of the directory to use for git repository |
| directory |
|---|