Git
Git (opens in a new tab) is a free and open-source distributed version control system designed to handle everything from small to large projects with speed and efficiency.
Credentials: You can find authentication information for this node here.
Operations
- Add a file or folder to commit. Performs a git add (opens in a new tab).
- Add Config: Add configuration property. Performs a git config (opens in a new tab) set or add.
- Clone a repository: Performs a git clone (opens in a new tab).
- Commit files or folders to git. Performs a git commit (opens in a new tab).
- Fetch from remote repository. Performs a git fetch (opens in a new tab).
- List Config: Return current configuration. Performs a git config (opens in a new tab) query.
- Log: Return git commit history. Performs a git log (opens in a new tab).
- Pull from remote repository: Performs a git pull (opens in a new tab).
- Push to remote repository: Performs a git push (opens in a new tab).
- Push Tags to remote repository: Performs a git push --tags (opens in a new tab).
- Return Status of current repository: Performs a git status (opens in a new tab).
- Create a new Tag: Performs a git tag (opens in a new tab).
- User Setup: Set the user.
Refer to the sections below for more details on the parameters and options for each operation.
Add
Configure this operation with these parameters:
- Repository Path: Enter the local path of the git repository.
- Paths to Add: Enter a comma-separated list of paths of files or folders to add in this field. You can use absolute paths or relative paths from the Repository Path.
Add Config
Configure this operation with these parameters:
- Repository Path: Enter the local path of the git repository.
- Key: Enter the name of the key to set.
- Value: Enter the value of the key to set.
Add Config options
The add config operation adds the Mode option. Choose whether to Set or Append the setting in the local config.
Clone
Configure this operation with these parameters:
- Repository Path: Enter the local path of the git repository.
- Authentication: Select Authenticate to pass credentials in. Select None to not use authentication.
- Credential for Git: If you select Authenticate, you must select or create credentials for the node to use. Refer to Git credential for more information.
- New Repository Path: Enter the local path where you'd like to locate the cloned repository.
- Source Repository: Enter the URL or path of the repository you want to clone.
Commit
Configure this operation with these parameters:
- Repository Path: Enter the local path of the git repository.
- Message: Enter the commit message to use in this field.
Commit options
The commit operation adds the Paths to Add option. To commit all "added" files and folders, leave this field blank. To commit specific "added" files and folders, enter a comma-separated list of paths of files or folders in this field.
You can use absolute paths or relative paths from the Repository Path.
Fetch
This operation only prompts you to enter the local path of the git repository in the Repository Path parameter.
List Config
This operation only prompts you to enter the local path of the git repository in the Repository Path parameter.
Log
Configure this operation with these parameters:
- Repository Path: Enter the local path of the git repository.
- Return All: When turned on, the node will return all results. When turned off, the node will return results up to the set Limit.
- Limit: Only available when you turn off Return All. Enter the maximum number of results to return.
Log options
The log operation adds the File option. Enter the path of a file or folder to get the history of in this field.
You can use absolute paths or relative paths from the Repository Path.
Pull
This operation only prompts you to enter the local path of the git repository in the Repository Path parameter.
Push
Configure this operation with these parameters:
- Repository Path: Enter the local path of the git repository.
- Authentication: Select Authenticate to pass credentials in or None to not use authentication.
- If you select Authenticate, you must select or create Credential for Git for the node to use. Refer to Git credential for more information.
Push options
The push operation adds the Target Repository option. Enter the URL or path of the repository to push to in this field.
Push Tags
This operation only prompts you to enter the local path of the git repository in the Repository Path parameter.
Status
This operation only prompts you to enter the local path of the git repository in the Repository Path parameter.
Tag
Configure this operation with these parameters:
- Repository Path: Enter the local path of the git repository.
- Name: Enter the name of the tag to create in this field.
User Setup
This operation only prompts you to enter the local path of the git repository in the Repository Path parameter.