20 lines
463 B
Markdown
20 lines
463 B
Markdown
# git-workflow
|
|
|
|
Lead paragraph describing the topic.
|
|
|
|
## dev is home
|
|
|
|
Work directly on dev; no feature branches.
|
|
|
|
**Why:** It minimises ceremony for a solo developer.
|
|
|
|
**How to apply:** Default for all repo work. Switch to a feature branch only when explicitly asked.
|
|
|
|
## no-force-push
|
|
|
|
Never force-push to main.
|
|
|
|
**Why:** Force-pushing rewrites shared history.
|
|
|
|
**How to apply:** Anytime you're about to run `git push --force`, stop and check the target branch.
|