Git

Create a Git branch and switch branches

Start a branch before developing a new feature so you can keep working from the current release. This habit tracker already sends daily reminders and now needs a weekly summary.

Example · Start a weekly summary branch

  1. Open habit-tracker in Git. Check that main is selected and Local Changes is empty.

  2. Choose Create branch, enter weekly-summary and keep the option to check out the new branch selected. Confirm.

  3. Open All Commits in Quick access. The toolbar shows weekly-summary and its starting commit is Add daily habit reminders.

The weekly-summary branch starts at the existing daily reminders commit.

Example · Return to the main branch

When the working tree is clean, open the branch selector and check out main. Confirm the branch in the toolbar before making a change for the released version.