LogoLumide

Stashes & Branch Management

Manage Git branches and temporary stashes inside Lumide.


Branches#

Switching Branches#

  • Click the Branch Name in the bottom status bar.
  • Or run Git: Checkout to... from the Command Palette (Cmd+Shift+P).
  • Select a local or remote branch from the picker.

Creating a Branch#

  1. Open the branch picker.
  2. Select + Create new branch....
  3. Type the branch name and press Enter.

Several Repositories#

In a workspace with several repositories, branches are switched and created in the active repository, the one of the file you are editing; the branch indicator's menu says which. Turn on Branch Operations in All Repositories (git.sync_branch_operations) to switch and create them in every repository at once. See Several Repositories.

Deleting a Branch#

In the C.O.R.G.I. sidebar, right-click any branch under the branch list and select Delete Branch.


Git Stashing#

Shelve uncommitted modifications without committing:

Creating a Stash#

  1. In C.O.R.G.I., open the ... (More Actions) menu.
  2. Select Stash Changes (or Stash Changes (Include Untracked)).
  3. Type an optional message and press Enter.
  4. Working tree returns to a clean HEAD state.

Git: Stash Changes and Git: Unstash Latest from the Git menu or the Command Palette act on the active repository and name it when the workspace has several.

Managing Stashes#

Expand the Stashes section in C.O.R.G.I.:

  • Apply Stash: Reapplies the changes while keeping the stash entry.
  • Pop Stash: Reapplies the changes and deletes the stash entry.
  • Drop Stash: Discards the stash permanently.

Next Steps#