Git & Professional Workflow
Rebase, branches, PRs, conventional commits.
Revision Sheet
- Commit: Immutable snapshot of the repository.
- Branch: Movable pointer to a commit.
- Merge: Combining branch histories (preserves history, messy graph).
- Rebase: Replaying commits onto a new base (rewrites history, clean linear graph).
- HEAD: Where you currently are.
- Reflog: The safety net recording all HEAD movements.
- Conventional Commits: Structured messages (feat, fix, chore) for automated SemVer.
Connections
Git is the foundation of CI/CD (Continuous Integration / Continuous Deployment). Every push to a repository acts as a trigger for automated pipelines (like GitHub Actions or Jenkins) to build, test, and deploy the code, bridging the gap between local development and cloud infrastructure.