Goal: Set up production-ready repository with 2 versions and clean branch structure.
BRANCHES: TAGS:
───────── ─────
main (stable) v1.0 → main (legacy)
beta (to be deleted) v1.1 → beta (enhanced)
develop (v2.0 WIP)
After cleanup: main + develop only
| Version | Source | Features |
|---|---|---|
| v1.0 | main | Legacy, OpenAI v0.28, Tkinter GUI |
| v1.1 | beta | + LLM client abstraction, + QC static validator |
| v2.0 | develop (from gamma) | Multi-agent, autonomous, library builder |
# Tag main as v1.0
git checkout main
git tag -a v1.0 -m "v1.0: Legacy - OpenAI v0.28, Tkinter GUI, basic features"
git push origin v1.0
# Tag beta as v1.1
git checkout beta
git tag -a v1.1 -m "v1.1: LLM client abstraction + QC static validator"
git push origin v1.1git checkout gamma
git checkout -b develop
git push origin develop
git push origin --delete gammagit checkout main
git merge origin/claude/create-app-flowcharts-oAhVJ -m "Add version documentation"
git push origin mainFiles added:
ARCHITECTURE.md- Gamma branch flowchartsVERSIONS.md- Version comparison guideCHANGELOG.md- Detailed changelog
# Delete merged/obsolete branches
git push origin --delete beta
git push origin --delete claude/assess-gamma-quality-d5N6F
git push origin --delete claude/audit-gamma-branch-ADxNt
git push origin --delete claude/check-credential-leaks-t3ZYa
git push origin --delete claude/compare-gamma-opencode-arch-C4KzZ
git push origin --delete claude/create-app-flowcharts-oAhVJ
git push origin --delete copilot/add-ollama-backend-adapter# Check branches (should be: main, develop)
git branch -a
# Check tags
git tag -l
# Expected output:
# Branches: main, develop
# Tags: v1.0, v1.1If using mobile/web browser:
- Go to Releases → Create a new release
- Choose a tag → type
v1.0→ Create new tag - Target: select
main - Title:
v1.0: Legacy Release - Publish release
- Repeat for
v1.1targetingbeta
- Go to Code tab
- Click branch dropdown (shows
main) - Type
develop - Select Create branch: develop from gamma
- Go to Branches (click "X branches")
- Click 🗑️ trash icon next to each unwanted branch
- Go to Pull requests
- Create PR from
claude/create-app-flowcharts-oAhVJ→main - Merge
quantcoder-cli/
├── main branch (v1.0 code + docs)
│ ├── quantcli/ # v1.0 package
│ ├── ARCHITECTURE.md # Flowcharts
│ ├── VERSIONS.md # Version guide
│ ├── CHANGELOG.md # Changelog
│ └── README.md
│
├── develop branch (v2.0 WIP)
│ ├── quantcoder/ # v2.0 package (new name)
│ ├── agents/
│ ├── autonomous/
│ ├── library/
│ └── ...
│
└── Tags
├── v1.0 → points to main (legacy)
└── v1.1 → points to beta commit (enhanced)
# Merge develop into main
git checkout main
git merge develop
git tag -a v2.0.0 -m "v2.0.0: Ollama-only local LLM inference"
git push origin main --tags
# v1.0 and v1.1 remain accessible via tags
git checkout v1.0 # Access old version anytime- Ollama installed and running
- Models pulled:
ollama pull qwen2.5-coder:14b && ollama pull mistral - No cloud API keys required
- Tag main as v1.0
- Tag beta as v1.1
- Create develop branch from gamma
- Delete gamma branch
- Merge docs to main
- Delete claude/* branches (5)
- Delete copilot/* branch (1)
- Delete beta branch
- Verify: 2 branches + 2 tags
| Action | Command |
|---|---|
| List branches | git branch -a |
| List tags | git tag -l |
| Checkout version | git checkout v1.0 |
| Delete remote branch | git push origin --delete <branch> |
| Create tag | git tag -a v1.0 -m "message" |
| Push tag | git push origin v1.0 |