30 lines
838 B
Markdown
30 lines
838 B
Markdown
---
|
|
description: Check git working directory status and file changes
|
|
---
|
|
|
|
Check the current git repository status and display file changes in a clear, organized format.
|
|
|
|
Please perform the following tasks:
|
|
|
|
1. **Run `git status`** to show the current state of the working tree
|
|
2. **Display current branch** using `git branch --show-current`
|
|
3. **List unstaged changes** with `git diff --name-only`
|
|
4. **List staged changes** with `git diff --cached --name-only`
|
|
|
|
Present the information in Chinese with the following structure:
|
|
|
|
```
|
|
当前分支: [branch_name]
|
|
|
|
暂存区文件 ([count]):
|
|
[列出已暂存的文件]
|
|
|
|
未暂存的修改 ([count]):
|
|
[列出未暂存的修改文件]
|
|
|
|
未跟踪的文件 ([count]):
|
|
[列出未跟踪的文件]
|
|
```
|
|
|
|
Use clear formatting and emoji indicators (✓, ⚠️, etc.) to make the output easy to read.
|