What you will create
A branch named fix/login-timeout and a sibling folder named flame-starter-login-fix, based on your repository's main branch. Use names and a starting ref that fit your project.
A visual Git worktree tutorial for Flame IDE. Create a branch and checkout, choose what to copy, open the worktree, review its changes, and return to your task.
You are working on cohort insights when a login bug needs attention. Instead of changing the branch under your open files, create a worktree for fix/login-timeout. Flame gives that task a sibling checkout you can open as a project. The original feature keeps its own files and changes. This walkthrough uses Flame's Git panel, New worktree form, and checkout controls from start to finish.
A branch named fix/login-timeout and a sibling folder named flame-starter-login-fix, based on your repository's main branch. Use names and a starting ref that fit your project.
Your current feature checkout keeps its branch and uncommitted work. Leave Bring all uncommitted changes off when this second task should start from the chosen base.
Open a Git project with at least one commit. Know which branch or commit the fix should start from, and choose a new branch and an unused sibling folder name.
Select the repository in Flame and open Git from the left activity bar. Choose the Worktrees tab. This list shows the main checkout and any linked checkouts, with their branch and folder information. Expand a row to inspect the checkout before deciding where the new task belongs.
Click New worktree at the bottom of the Git panel. Keep New branch selected. Enter fix/login-timeout in Branch, main in Create from, and flame-starter-login-fix in Folder name. Create from selects the commit the new branch starts at; Folder name selects the separate checkout directory. Wait for Ready to create before continuing.
For this independent fix, leave Bring all uncommitted changes unchecked. Enabling it copies staged, unstaged, and untracked files into the new checkout as unstaged changes, while keeping them in the original checkout too. It is useful when moving an existing change into a new worktree, but it would mix unfinished feature work into this example. Enable Open the worktree as a new project after creating, then choose Create worktree.
When Flame opens the worktree, verify the project and branch before editing. If you left the open-after option off, return to Worktrees and use Open on the new row. Flame applies the configured worktree initialization and copy rules; check their outcome and install any remaining dependencies. Use a different port or development database when the first checkout's server is still running.
Make the login fix in the worktree and run its relevant tests. Inspect Changes in that checkout, commit only the intended fix, and review it through your team's normal pull-request or integration process. A separate checkout helps keep tasks apart, but both branches can still change the same lines and create a merge conflict later.
Open the original project to return to the feature you left in progress. When the fix is integrated or no longer needed, stop its servers and preserve any useful local changes. In Git → Worktrees, expand the task checkout and use its remove action. Review the confirmation and any dirty-state or lock warning. Removing a checkout and deleting its branch are separate decisions.