{"id":23378884,"url":"https://github.com/hassanzouhar/gitstatus","last_synced_at":"2026-06-23T03:31:33.984Z","repository":{"id":268978740,"uuid":"906028149","full_name":"hassanzouhar/gitstatus","owner":"hassanzouhar","description":"A command-line tool that helps maintain repository hygiene by checking Git repository status and providing interactive fixes for common issues.","archived":false,"fork":false,"pushed_at":"2024-12-20T04:18:51.000Z","size":38594,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-24T12:50:57.544Z","etag":null,"topics":["git"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hassanzouhar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-20T02:32:46.000Z","updated_at":"2024-12-20T04:27:34.000Z","dependencies_parsed_at":"2024-12-20T05:21:53.467Z","dependency_job_id":"68ce4c10-e4b9-47bd-9cd1-a7f870c9ce75","html_url":"https://github.com/hassanzouhar/gitstatus","commit_stats":null,"previous_names":["hassanzouhar/gitstatus"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hassanzouhar/gitstatus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hassanzouhar%2Fgitstatus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hassanzouhar%2Fgitstatus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hassanzouhar%2Fgitstatus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hassanzouhar%2Fgitstatus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hassanzouhar","download_url":"https://codeload.github.com/hassanzouhar/gitstatus/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hassanzouhar%2Fgitstatus/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34674702,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-23T02:00:07.161Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["git"],"created_at":"2024-12-21T19:15:02.648Z","updated_at":"2026-06-23T03:31:33.966Z","avatar_url":"https://github.com/hassanzouhar.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gitstatus\n\nA command-line tool that helps maintain repository hygiene by checking Git repository status and providing interactive fixes for common issues.\n\n## Features\n\n- 🔍 Comprehensive repository status checks:\n- Uncommitted changes detection\n- Unpushed commits detection\n- Branch protection checks\n- Update requirements check\n- 🤖 Interactive mode with guided fixes\n- 🚦 Clear status indicators and colored output\n- 🔧 Automatic issue resolution (with confirmation)\n- 🤫 Quiet mode for CI/CD pipelines\n\n## Installation\n\n### Prerequisites\n- Go 1.18 or later\n- Git\n\n### Install from source\n```bash\ngo install github.com/hassanzouhar/gitstatus@main\n```\n\nMake sure `$HOME/go/bin` is in your PATH:\n```bash\nexport PATH=$PATH:$HOME/go/bin\n```\n\n## Usage\n\n### Basic Usage\n```bash\ngitstatus\n```\n\n### Interactive Mode\n```bash\ngitstatus -i\n```\n\n### Flags\n- `-i, --interactive`: Enable interactive mode with guided fixes\n- `-q, --quiet`: Suppress output except for errors\n- `-v, --version`: Display version information\n- `-h, --help`: Show help information\n\n## Examples\n\n### Non-Interactive Mode\n\n```bash\n$ gitstatus\nCurrent branch: main\n⚠ You have uncommitted changes\n```\n\n### Interactive Mode\n\n```bash\n$ gitstatus -i\nCurrent branch: main\n⚠ You have uncommitted changes\n\n=== Recommended Actions ===\n1. Commit your changes:\ngit add .\ngit commit -m \"your commit message\"\nWould you like to commit all changes? (y/n): y\nEnter commit message: update readme\n✓ Changes committed successfully\n\n⚠ You have unpushed commits\n2. Push your commits:\ngit push origin main\nWould you like to push your commits? (y/n): y\n✓ Commits pushed successfully\n\n✓ All issues were resolved successfully\n```\n\nIn interactive mode, the tool will:\n1. Check for uncommitted changes and offer to commit them\n2. Check for unpushed commits and offer to push them\n3. Verify branch protection rules\n4. Check if the branch needs to be updated\n\nEach step is handled sequentially with clear prompts and confirmations.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhassanzouhar%2Fgitstatus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhassanzouhar%2Fgitstatus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhassanzouhar%2Fgitstatus/lists"}