|
|
@@ -11,15 +11,16 @@ Automate the Git commit and push process by intelligently analyzing file changes
|
|
|
## 1. Open New Terminal and Check Git Status
|
|
|
|
|
|
1. Use the `execute_command` tool to open a new terminal session.
|
|
|
+2. Use the `execute_command` tool to run `git pull` . if there is something wrong or conflict , prompt the user to interupt to fix
|
|
|
|
|
|
-2. Use the `execute_command` tool to execute `git status` to check current repository state.
|
|
|
+3. Use the `execute_command` tool to execute `git status` to check current repository state.
|
|
|
|
|
|
- Identify modified files
|
|
|
- Identify new (untracked) files
|
|
|
- Identify deleted files
|
|
|
- Display current branch information
|
|
|
|
|
|
-3. Analyze the output to understand the scope of changes in the current working directory. you should ignore dev.ts file.
|
|
|
+4. Analyze the output to understand the scope of changes in the current working directory. you should ignore dev.ts file.
|
|
|
|
|
|
## 2. Analyze File Changes and Generate Commit Message
|
|
|
|
|
|
@@ -59,8 +60,7 @@ Automate the Git commit and push process by intelligently analyzing file changes
|
|
|
- src/pages/exam/ContentAreaMedium.tsx
|
|
|
- src/pages/exam/ContentAreaSmall.tsx
|
|
|
`
|
|
|
-## 2.5 Use the `execute_command` tool to run `git pull`
|
|
|
- if there is something wrong or conflict , prompt the user to interupt to fix
|
|
|
+
|
|
|
## 3 Important ! Show the generated commit message prominently so the user can verify its accuracy.
|
|
|
|
|
|
## 4. Present Command List for User Review
|