Commit to Repo
The Commit to Repo Extension is a streamlined tool designed to automate the process of committing changes made during a pipeline run to your Git repository.
Created by:
Setup
- Install the DevOps extension in your DevOps Organization using the Get it free button.
- Navigate to your pipeline.
- Add the
commitToRepo
task to your pipeline. - Ensure your pipeline has the
System.AccessToken
variable enabled.
Support
Please visit mightora.io
Key Features
Commit To Git Repository
Overview
This task automates committing changes made during a pipeline run to your Git repository, ensuring everything is pushed automatically.
Key Features
- Automated Git Commits: Stages and commits all modifications to the Git repository.
- Secure Authentication: Uses the pipeline’s
System.AccessToken
for authentication. - Customizable Commit Message: Specify a commit message via the task’s input parameters.
- Flexible Configuration: Set up Git configurations like user email and name.
How to Use
- Add the task to your Azure DevOps pipeline.
- Specify the commit message using the
commitMsg
input. - Ensure your pipeline has the
System.AccessToken
variable enabled. - Run the pipeline to commit and push changes to the repository.
Example Pipeline Usage
- task: commitToRepo@1
inputs:
commitMsg: "Automated commit from pipeline"