Git Summary
Produce a concise summary of the current git repository state.
Steps
- Run
git rev-parse --abbrev-ref HEADto get the current branch. - Run
git log --oneline -10to list the 10 most recent commits. - Run
git status --shortto show uncommitted changes. - Run
git stash listto check for stashed work. - Run
git remote -vto list configured remotes.
Output format
Present the summary as a structured report:
## Repository Summary
**Branch**: <current branch>
**Remotes**: <list of remotes>
**Recent commits** (last 10):
- <commit hash> <message>
...
**Working tree**: <clean | N files changed>
**Stashes**: <none | N stashes>
Notes
- If the directory is not a git repository, say so and stop.
- Do not modify any files or git state — this skill is read-only.