A Commit is like a bookmark: you’re marking a point you can return to if needed. Each time you arrive at a decision while designing, commit your changes. If you change your mind about a decision, you can restore a Project’s Master back to any previous Commit and take a different direction. We recommend committing several times a day to best document your team’s decision-making and iteration process.
Tip: Committing your changes does not affect Master. You change Master by merging.
How to commit changes on a Branch
To commit your changes:
- Create a Branch in the Abstract desktop app.
- Note: If you don’t open your Sketch or Adobe XD files via the Abstract app, your work is not backed up in Abstract and you can’t commit changes.
- Make changes to your file(s).
- Click Commit changes at the bottom of your Sketch window or in the Adobe XD plugins panel.
- Note: If you’re not seeing the Commit button, make sure you opened your file via the Abstract desktop app. If you’re still not seeing the Commit button, click File > Save. Saving should trigger the Commit button to show up.
- Summarize your changes in the Commit message.
- Commit comments are visible to your team. They act as a reminder of what was changed if you ever need to restore a previous Commit.
- Select COMMIT CHANGES.
- You can click More Options to see what’s changed or to discard changes before committing.
- For Adobe XD files, a preview window will pop up. You can close this window.
The edits you made in your Branch are now visible to the rest of your project team. You’ll find a record of your Commit in the Commit history.
What’s the difference between saving and committing?
Saving makes a local copy of your changes on your computer. Committing saves your changes to Abstract.
If you save without committing, your Sketch and Adobe XD files are not backed up in Abstract. You must commit changes before your team will be able to see them.
How to discard changes without committing
To trash changes you’ve made on a Branch without committing:
- Save your changes by clicking File > Save.
- Click Commit Changes at the bottom of your Sketch window or in the Adobe XD plugins panel.
- Click More Options.
- In the pop-up window, click DISCARD next to any changes you’d like to delete.
- Click Discard.
Caution: Discarded changes aren't recoverable.