Feature Branch Flow
git checkout -b feature/user-auth
git push -u origin feature/user-auth
git fetch origin
git rebase origin/main
Useful Commands
| Scenario | Command |
|---|---|
| Stage all changes | git add -A |
| Amend last commit | git commit --amend --no-edit |
| Compare branches | git diff main..feature/foo |
Commit Types
featfixdocsrefactorperfchore