Skip to main content

Finishing your task

This section is for directly merging your task onto main, without creating a GitHub Pull Request first.

You can skip this section if you've used GitHub Pull Request for your task.

Finishing a task is called "merging a WIP", because it merges the changes you've made into trunk.

hf merge

Or clicking on MERGE in the UI.

This will create a single git commit, using your WIP's title as the commit message. It will also make sure your WIP is up-to-date (rebased) with all changes from trunk, so that history always stays linear.

You can specify a different commit message like this:

hf merge "this is my commit
It implements my first WIP!"