snogwt (sno git worktree)
a simple git worktree helper that checkout your branch into repo/worktrees/branch@repo/
Examples:
cd your_repo
snogwt develop
# try create develop branch
# and checkout into repo/worktrees/develop@your_repo,
# add /worktrees to .gitignore if not existed
# and try open vscode to edit it
snogwt develop --no-vscode
snogwt develop -n
# same as above but don't open vscode
snogwt --remove develop
# try remove develop branch's worktree if it's checked out somewhere.
# then you can remove the branch by 'git branch remove ...
# list all worktrees, same as "git worktree list"
snogwt --list
snogwt -l
snogwt
ref
About
License
GPLv3 - The GNU General Public License v3.0 - GNU Project - Free Software Foundation
Author
Author: snomiao snomiao@gmail.com Website: snomiao.com
Sponsors
- None yet.
Claim your sponsorship by donating snomiao <Email: snomiao@gmail.com>
Contribute
The main repo is in here, any issue and PR's welcome.