File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 3939
4040## Git workflow
4141
42+ When user says "let's push to git" or similar:
43+ 1 . Check git status first
44+ 2 . If on develop or main, create a new branch using convention:
45+ - ` docs/ ` for documentation changes
46+ - ` feat/ ` for new features
47+ - ` fix/ ` for bug fixes
48+ 3 . Stage and commit changes with one-line message
49+ 4 . Push with ` -u ` flag to set upstream: ` git push -u origin branch-name `
50+ 5 . Default branch is ` develop ` (not main)
51+
52+ Standard workflow:
4253- NEVER use --no-verify when committing
4354- Ask how to handle uncommitted changes before starting
4455- Create a new branch when no clear branch exists for changes
4556- Commit frequently throughout development
4657- NEVER skip or disable pre-commit hooks
58+ - Keep commit messages to one line unless user requests otherwise
4759
4860## Do not
4961
You can’t perform that action at this time.
0 commit comments