In Designer, a commit represents a snapshot of your work in your current branch. A commit contains a unique identifier that helps you track changes to your pipelines over time. Performing a commit lets you save your changes in your local repository.
|Branch||This is the checked-out branch where you’ve made changes and intend to capture the snapshot. You can't edit this—you must switch branches to make a commit on another branch.|
|Commit message||A text field to enter a brief description of the changes you’ve made for this commit.|
How to commit
Once you have made changes to your branch, the Git button in the upper-right displays an i icon to indicate that there are changes to commit. If you have uncommitted changes that you want to keep, you must commit your changes before you can pull from remote. Otherwise, you can do a Hard reset to go back to your last commit.
Follow the steps below to commit your changes:
- Click Commit in the Git drop-down menu. The Commit changes dialog will open.
- Add a brief description of the changes you’ve made for this commit so that other collaborators can understand what changes you've made.
- Click Commit to save your snapshot. Otherwise, click Cancel to cancel your commit.
If there are no changes since your last commit, the message Unable to commit changes. There are no changes to commit will be displayed at the end of this process.
The Commit action will commit all pipelines in your current branch, preserving the pipeline folder structure. However, it will not commit empty folders; these will disappear from the pipeline list.