Skip to content

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

  6. Analyze Repository State

  7. Identify staged vs unstaged changes
  8. List any untracked files
  9. Check if branch is ahead/behind remote
  10. Review any merge conflicts if present

  11. Read Key Files

  12. Review README.md for project context
  13. Check for any recent changes in important files
  14. Understand project structure if needed

  15. Provide Summary

  16. Current branch and its relationship to main/master
  17. Number of commits ahead/behind
  18. List of modified files with change types
  19. 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