Squash Commits with the TerminusDB Dashboard

Open inAnthropic

Prerequisites

  • TerminusDB running locally or a DFRNT Hub account
  • A database with multiple commits on a branch

What you'll achieve By the end of this guide, you will have squashed multiple commits into one.

To squash a branch of a database, or indeed main, navigate to the project home page, the first icon on the left that looks like a database.

Scroll down to the Manage Branches section and selected Branches.

Next to the branch you want to squash, select the ellipses symbol to see the branch options.

Branch options with the ability to squash the branch of the database

Choose the Squash button.

Give the operation a description and press the Squash Branch button.

A squashed branch combines all commits into one big one

Be wary as squashing a project will result in the commit history being lost

Was this helpful?