@@ -124,6 +124,43 @@ The Package.swift heavily uses environment variables for conditional compilation
124124- Library evolution mode generates .swiftinterface files
125125- Various private framework integrations can be toggled
126126
127+ ## Git and GitHub Workflow
128+
129+ ** IMPORTANT: This project uses GitBulter for version control management**
130+
131+ ### Critical Git Rules
132+ - ** NEVER change branches** - The user manages branches through GitBulter
133+ - ** NEVER run git commit commands** - The user commits through GitBulter GUI
134+ - ** ALWAYS create pull requests** using ` gh pr create ` with the exact branch specified by the user
135+ - ** DO NOT switch branches** when creating pull requests
136+
137+ ### Commit Workflow
138+ When asked to commit changes:
139+ 1 . ** Generate a commit message** and provide it to the user
140+ 2 . ** List the files to be committed** (specify if not all files)
141+ 3 . ** Let the user commit through GitBulter GUI** - do not run git commit commands
142+ 4 . Wait for user confirmation before proceeding with any PR creation
143+
144+ Example response when asked to commit:
145+ ```
146+ Here's the commit message for you to use in GitBulter:
147+
148+ "Add feature X to improve Y
149+
150+ - Implemented new functionality
151+ - Updated tests
152+ - Fixed related issues"
153+
154+ Files to commit:
155+ - src/feature.swift
156+ - tests/feature_test.swift
157+ ```
158+
159+ ### Pull Request Workflow
160+ 1 . Only create PR after user confirms the commit is done
161+ 2 . Use ` gh pr create ` from the specified branch
162+ 3 . Do not change HEAD or switch branches during PR creation
163+
127164## Important Notes
128165
129166- This project uses private Apple APIs and frameworks - NOT for App Store distribution
0 commit comments