git-status
Show detailed git repository status
Imported description, not reviewed yet
This item came from its original repository and was only scanned automatically; no editor has written an Arabic description for it yet. Read its content yourself before you rely on it. This page is not indexed by search engines until it is reviewed.
Download
Install
After downloading, run the command in a terminal. unzip asks before it replaces any file that is there.
For this project
It goes in: .claude/commands/
mkdir -p .claude/commands && unzip ~/Downloads/git-status.zip -d .claude/commandsFor your account on the whole machine
It goes in: ~/.claude/commands/
mkdir -p ~/.claude/commands && unzip ~/Downloads/git-status.zip -d ~/.claude/commands
Instructions
Git Status Command
Show detailed git repository status
Command originally created by IndyDevDan (YouTube: https://www.youtube.com/@indydevdan) / DislerH (GitHub: https://github.com/disler)
Instructions
Analyze the current state of the git repository by performing the following steps:
-
Run Git Status Commands
- Execute
git statusto see current working tree state - Run
git diff HEAD origin/mainto check differences with remote - Execute
git branch --show-currentto display current branch - Check for uncommitted changes and untracked files
- Execute
-
Analyze Repository State
- Identify staged vs unstaged changes
- List any untracked files
- Check if branch is ahead/behind remote
- Review any merge conflicts if present
-
Read Key Files
- Review README.md for project context
- Check for any recent changes in important files
- Understand project structure if needed
-
Provide Summary
- Current branch and its relationship to main/master
- Number of commits ahead/behind
- List of modified files with change types
- Any action items (commits needed, pulls required, etc.)
This command helps developers quickly understand:
- What changes are pending
- The repository's sync status
- Whether any actions are needed before continuing work
Arguments: $ARGUMENTS
Files
- LICENSE1 KB
- git-status.md1.4 KB
Comments (0)
No comments yet. Be the first.
Sign in to comment. Commenting comes at level 1 (Member).