A lightweight toolkit of Bash helpers that streamline daily Git workflows. Each script focuses on a specific developer pain point—surfacing richer repository context or spinning up isolated worktrees—without pulling in heavy dependencies.
-
Clone or copy this directory somewhere on your machine.
-
Make sure the scripts are executable, run
chmod +x git-status git-gwts. -
Add the directory to your
PATH, or symlink the scripts you need:ln -s "$(pwd)/git-status" /usr/local/bin/gitstatus ln -s "$(pwd)/git-gwts" /usr/local/bin/git-gwts
Or create shell aliases in your profile (e.g.
~/.zshrc) so the scripts stay portable:echo "alias gitstatus='$(pwd)/git-status'" >> ~/.zshrc echo "alias git-gwts='$(pwd)/git-gwts'" >> ~/.zshrc source ~/.zshrc # reload your shell config
Rich terminal status for any Git repository. Highlights remote vs. local divergence, staged/unstaged/untracked files, and recent commits with color-coded hints and emoji markers. Designed as a drop-in replacement for git status when you want a quick visual summary.
- Command:
gitstatus - Docs:
git-status-tool.spec.md
Automates creating a new Git worktree for a branch and copies .env files plus every node_modules directory into the fresh checkout. Prevents branch conflicts across worktrees and keeps environment-sensitive files in sync, so the new workspace is ready to run immediately.
- Command:
git-gwts <branch> [start-point] - Docs:
git-gwts.spec.md
- Scripts follow a "receive object, return object" style for core functions to stay predictable.
- All documentation lives next to the scripts in
*.spec.mdfiles for quick reference. .gitignoreexcludes local artifacts such as.envfiles andnode_modules/to keep the repository clean.
- Update or add the relevant spec file alongside any script changes.
- Test the script manually (or add quick smoke checks) before opening a merge request.
- Keep the README and usage examples up to date.
Feedback or new helper ideas are welcome—drop them in as issues or PRs.
