Skip to content
CommandImported

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

Files: 1 · Size: 2.4 KB

Download the ZIP

The file carries the license of the original source.

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/commands

  • For 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:

  1. Run Git Status Commands

    • Execute git status to see current working tree state
    • Run git diff HEAD origin/main to check differences with remote
    • Execute git branch --show-current to display current branch
    • Check for uncommitted changes and untracked files
  2. 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
  3. Read Key Files

    • Review README.md for project context
    • Check for any recent changes in important files
    • Understand project structure if needed
  4. 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).

Report

Similar items

  • CommandImported

    architecture-review

    Comprehensive architecture review with design patterns analysis and improvement recommendations

    MITFiles: 1

  • CommandImported

    architecture-scenario-explorer

    Explore architectural decisions through systematic scenario analysis with trade-off evaluation and future-proofing assessment.

    MITFiles: 1

  • CommandImported

    block-no-verify

    Set up PreToolUse hook to block --no-verify and other git bypass flags in Claude Code projects

    MITFiles: 1

  • CommandImported

    c4-architecture

    Generate comprehensive C4 architecture documentation (Context, Container, Component, Code) for a codebase using bottom-up analysis and four coordinated C4 agents.

    MITFiles: 1

  • CommandImported

    clean_gone

    Cleans up all git branches marked as [gone] (branches that have been deleted on the remote but still exist locally), including removing associated worktrees.

    Apache-2.0Files: 1

  • CommandImported

    clean-branches

    Clean up merged and stale git branches

    MITFiles: 1