You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .cursor/rules/git.mdc
+1-6Lines changed: 1 addition & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ alwaysApply: true
6
6
# Commit creation
7
7
8
8
- When asked to "commit":
9
-
1. Check staged files using `git diff --staged` and create a commit message using *only* the staged files.
9
+
1. Check staged files using `git --no-pager diff --staged` and create a commit message using *only* the staged files.
10
10
- Once the message is ready, directly propose the commit command to the user.
11
11
2. If no files are staged, check the differences using `git status`, then stage files sequentially based on the following commit granularity before committing:
12
12
- Separate commits by package.
@@ -25,10 +25,5 @@ alwaysApply: true
25
25
- `refactor`
26
26
- `test`
27
27
- `chore`
28
-
- You must use the following scopes:
29
-
- Each package name (without namespace)
30
-
- `repo`
31
-
- `deps`
32
-
- `github`
33
28
- The message body's lines must not be longer than 100 characters
34
29
- The subject must not be sentence-case, start-case, pascal-case, upper-case
0 commit comments