Skip to content

use git worktree with ease

License

Notifications You must be signed in to change notification settings

jozan/gw-helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple and ergonomic wrapper around git worktree
usage: gw [COMMAND] [OPTIONS]
       commands:
           ls, list: list all worktrees of current git repository
           a, add: add a new worktree to the current git repository
           rm, remove: remove a worktree from the current git repository and cd to default worktree
           doctor: health check

       if no command is provided, switch to a worktree in current git repository using fzf prompt

       options:
           -h, --help: show this message


how to install:
make sure you have these installed
  - fish (v3.7.1 or v4.0b1, likely to work with v4.x)
  - git
  - fzf
  - awk
  - rg (ripgrep)
  - make (optional but needed for the next step)
  - asciidoctor (optional, needed for installation manpage)

clone the repo locally and run
$ make install


how to uninstall:
$ make uninstall

About

use git worktree with ease

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published