New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@omerbres/gg

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@omerbres/gg

Interactive git worktree session launcher with Cursor, OpenCode, and Claude Code support

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

ggw

Interactive git worktree session launcher. Pick or create a branch via fzf, then launch your preferred editor(s).

Installation

npm install -g @omerbres/gg

Requirements

  • macOS (uses AppleScript for window management)
  • git
  • fzf - brew install fzf
  • Ghostty (for terminal-based tools)
  • One or more of:

Usage

Run ggw from any git repository:

ggw
  • Select a branch - Use fzf to pick an existing branch or type a new branch name
  • Select editor(s) - Use Tab to select one or more tools (Cursor, OpenCode, Claude), then Enter to launch

The script will:

  • Reuse an existing worktree if the branch is already checked out
  • Create a new worktree at <repo>/.worktrees/<branch> otherwise
  • Launch your selected tools and tile windows automatically

Configuration

Set GG_BASE_BRANCH to customize the base branch for new branches (defaults to detecting from origin/HEAD, then main, then master):

export GG_BASE_BRANCH=develop

License

MIT

Keywords

git

FAQs

Package last updated on 10 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts