--- description: Check git working directory status and file changes --- # git-status Check current git repository status and display file changes in a clear format. ## What It Does - Shows current branch - Lists changed files (unstaged and staged) ## Steps Execute the following commands in parallel: ```bash # Current branch git branch --show-current # Repository status git status # List changed files only echo "=== Unstaged Changes ===" git diff --name-only echo "=== Staged Changes ===" git diff --cached --name-only ``` ## Output Format Present the information in Chinese with clear sections: ``` 当前分支:main 未暂存的文件 (3): - src/index.js - src/utils.js - README.md 已暂存的文件 (2): - package.json - src/config.js ``` ## Use Cases - Quick status check before committing - Review what files have changed - Check if you're on the correct branch