Tooling
Cap nhat 15 thg 1, 2026Git Workflow for Solo Projects
A practical Git workflow for solo developers: branching strategy, commit conventions, and useful aliases.
Branch Strategy
- `main`: always deployable
- `dev`: integration branch
- `feature/*`: one branch per feature
Commit Convention
Use conventional commits: `feat:`, `fix:`, `docs:`, `refactor:`, `test:`, `chore:`
Useful Aliases
```
git config --global alias.co checkout
git config --global alias.br branch
git config --global alias.st status
git config --global alias.lg "log --oneline --graph --all"
```
Tips
- Commit early, commit often
- Write meaningful commit messages
- Use `.gitignore` from day one
- Tag releases with `git tag v0.x`