You have the ability to control the visibility of your commits in Valohai. To do this, navigate to the “Manage Commits” tab found within the “Repository” section of your project’s settings. This feature is particularly valuable when dealing with branches that contain numerous older commits that are no longer relevant or in use. Here’s how you can manage commit visibility:
- Begin by filtering the commits either by branch name or by date.
- When filtering by date, you have the option to specify a date range.
- For commits made after a certain date, remember that the filtering doesn’t consider the date set in the box itself. To retrieve all commits made on and after, let’s say, September 12, 2022, you should set the “to” date as September 11, 2022.
- Similarly, for commits made on and before a particular date, you should set the “next” date in the box.
Suppose you want to view all commits made on and after September 12, 2022:
- Set the “from” date to September 12, 2022.
- Set the “to” date to September 11, 2022.
Commit Dropdown Menus
After filtering and hiding commits, you’ll notice changes in the Commit dropdown menus within the “Create Execution” section.
With this feature you can efficiently manage the visibility of commits in Valohai, making it easier to work with branches containing a large number of older commits that are no longer relevant to your current projects.