Git Status
Read the Files and run the Commands and summarize the current state of the git repository.
When to use
-
When user asks about repository status
-
Before making commits or changes
-
When reviewing what has changed
-
To understand current branch state
Instructions
Commands
Run these commands:
-
Current Status: git status
-
Current diff: git diff HEAD origin/main
-
Current branch: git branch --show-current
Files
Read: @README.md
Output
Summarize:
-
Current branch name
-
Whether there are uncommitted changes
-
Files that have been modified, added, or deleted
-
How the branch differs from origin/main
-
Any relevant context from README.md