GitHub Version Control is a Zsh module that connects GitHub issues, versioned Projects and release history. Start in a repository with no open development line, create the first task and grow the backlog. Deliver an issue with a patch tag, publish a minor release and prepare the next major version. Git records the code; this workflow connects that code to the work planned and shipped.
Run todo inside the target repository. A message saying no open development line was found means there is no linked open Project named vX.Y.x. It does not create a Project or modify the repository.
atlas-tools git:(main) % todoNo open dev line project (vX.Y.x) found for example-lab/atlas-tools.
Use rel init with an actionable task title. With no existing development line or version tags, the module creates and links v0.0.x, creates issue #1 and adds it to the Project. Run todo again to verify the result. Project number #19 is an example; GitHub assigns the actual number.
atlas-tools git:(main) % rel init "Create the command-line entry point"Open dev line found: v0.0.x (#19)
Creating items (kind=feature):
• created: #1 Create the command-line entry point atlas-tools git:(main) % todoOpen dev line (Project): v0.0.x (#19)
Patch: rel p #<issue> | Minor: rel m | Major: rel M
- [TODO] #1 Create the command-line entry point
Use rel fix to register a fix and rel init to register another feature. Both commands reuse the open development line. For multiple tasks in one call, separate titles with --, for example rel init "Add search" -- "Document the API".
atlas-tools git:(main) % rel fix "Handle missing export folders"Open dev line found: v0.0.x (#19)
Creating items (kind=fix):
• created: #2 (FIX) Handle missing export folders atlas-tools git:(main) % rel init "Add a project summary command"Open dev line found: v0.0.x (#19)
Creating items (kind=feature):
• created: #3 Add a project summary command
The standalone todo lists the development line and its items. Here #1 and #3 are feature tasks, while #2 is labeled FIX. Use rel progress 1 to mark work in progress, rel todo 1 to reset its status or rel done 1 to mark it complete. Those commands update planning status; they do not commit or publish code.
atlas-tools git:(main) % todoOpen dev line (Project): v0.0.x (#19)
Patch: rel p #<issue> | Minor: rel m | Major: rel M
- [TODO] #1 Create the command-line entry point
- [TODO] #3 Add a project summary command
- [FIX] #2 Handle missing export folders
Implement issue #1, commit it and push the intended code to the default branch. Then run rel p 1. The command creates the next patch tag at the remote default branch HEAD, attempts to mark the Project item Done and comments on the issue with the tag. It creates a tag rather than a GitHub Release. The development “milestone” in this module is the versioned Project.
atlas-tools git:(main) % rel p 1[info] example-lab/atlas-tools
[info] Tag to create: v0.0 -> v0.0.1
[info] Tag created: v0.0.1 (at main)
[info] project item #1 marked as Done. atlas-tools git:(main) % todoOpen dev line (Project): v0.0.x (#19)
Patch: rel p #<issue> | Minor: rel m | Major: rel M
- [done] #1 Create the command-line entry point
- [TODO] #3 Add a project summary command
- [FIX] #2 Handle missing export folders
Run rel m to publish v0.1 with notes from the current Project. Completed issue #1 stays in the released Project. The command moves unfinished #2 and #3 to v0.1.x and closes the old Project. Run todo afterward to review the remaining work in the next development line.
atlas-tools git:(main) % rel m[info] example-lab/atlas-tools
[info] Tag to create: v0.0.1 -> v0.1
[info] Release created: v0.1
…
Project closed: v0.1 (released) (#19) atlas-tools git:(main) % todoOpen dev line (Project): v0.1.x (#20)
Patch: rel p #<issue> | Minor: rel m | Major: rel M
- [TODO] #3 Add a project summary command
- [FIX] #2 Handle missing export folders
Implement and push issues #2 and #3, then mark them Done. Use uppercase rel M to publish v1.0.0, rename and close the current Project, and mark all its items Done. The module asks whether to open v1.0.x; that next line is optional. Reconcile unfinished work before this command because it marks every current item Done.
atlas-tools git:(main) % rel done 2 atlas-tools git:(main) % rel done 3 atlas-tools git:(main) % rel M
atlas-tools git:(main) % rel taskUsage:
rel init Item A -- Item B -- Item C
rel fix Item A -- Item B -- Item C
rel p <issue> (patch release)
rel m (minor release)
rel M (major release)
rel todo <issue> (set Status=Todo)
rel progress <issue> (set Status=In Progress)
rel done <issue> (set Status=Done)
Install Git, GitHub CLI and jq, authenticate with repository and Project permissions, and load the functions from a local checkout of the module. Replace the final path with your own target repository. This setup block loads functions; it does not create tasks or releases.
gh auth login
gh auth refresh -s project
git clone https://github.com/automation-scripting/github-version-control.git "$HOME/github-version-control"
source "$HOME/github-version-control/rel/rel-lib.zsh"
source "$HOME/github-version-control/rel/rel-release.zsh"
source "$HOME/github-version-control/prj/prj-init.zsh"
source "$HOME/github-version-control/prj/prj-todo.zsh"
source "$HOME/github-version-control/prj/prj-set-item-status.zsh"
source "$HOME/github-version-control/rel/rel.zsh"
cd /path/to/your/github-projectThis page was last updated at 2026-11-03 16:10.