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 39
39
40
40
## Git workflow
41
41
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:
42
53
- NEVER use --no-verify when committing
43
54
- Ask how to handle uncommitted changes before starting
44
55
- Create a new branch when no clear branch exists for changes
45
56
- Commit frequently throughout development
46
57
- NEVER skip or disable pre-commit hooks
58
+ - Keep commit messages to one line unless user requests otherwise
47
59
48
60
## Do not
49
61
You can’t perform that action at this time.
0 commit comments