20 lines
626 B
Markdown
20 lines
626 B
Markdown
---
|
|
type: resource
|
|
status: verified
|
|
tags: [infra, git]
|
|
---
|
|
# 🌿 Git
|
|
> Workflow + the self-hosted Forgejo setup.
|
|
|
|
## Workflow rules
|
|
- ALWAYS `pnpm build` locally before commit/push ([[Deployment Checklist]])
|
|
- Feature branches for risky work (e.g. `feature/quota-and-member-limits`, [[Quota Feature]])
|
|
- Conventional-ish commit messages (`feat:`, `fix:`, `chore:`)
|
|
|
|
## Self-hosted Forgejo
|
|
- `git.manohargupta.com`, **SSH port 2222**
|
|
- Hourly cron mirrors the Obsidian vault here ([[obsidian-stack]])
|
|
- `safe.directory` config needed when repo owned by a different uid
|
|
|
|
## Related
|
|
[[Self-Hosting]] · [[Development Workflow]]
|