Skip to content

Instantly share code, notes, and snippets.

@jaygaha
Created February 27, 2025 03:00
Show Gist options
  • Save jaygaha/a728d88b9a9f093e995776324cfe4f96 to your computer and use it in GitHub Desktop.
Save jaygaha/a728d88b9a9f093e995776324cfe4f96 to your computer and use it in GitHub Desktop.
GIT PR template

GIT Pull Request (PR) Template

New PR Process Template

1. Branch Naming

  • Use prefixes: feature/, bugfix/, or hotfix/ (e.g., feature/add-payment-gateway).

2. PR Title

  • Prefix with [Feature], [Bugfix], or [Hotfix] (e.g., [Bugfix] Fix broken API authentication).

3. PR Description Template

*Description*

[Explain the purpose and scope of your changes.]

*Related Issues*

[Link to issues, e.g., Closes #123]

*Changes Proposed*

- [ ] Added new migration for X
- [ ] Updated Y component

*Screenshots/UI Changes (if applicable)*  

[Attach screenshots for frontend changes.]

*Testing*

- [ ] PHPUnit tests added/updated
- [ ] Manual testing steps (e.g., tested with Postman)

*Notes*

[Highlight breaking changes, dependencies, or migration steps.]

Keep PRs small, focused, and well-documented! 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment