{"id":18419195,"url":"https://github.com/aubreypwd/zsh-plugin-git-is-clean","last_synced_at":"2025-04-13T09:10:54.389Z","repository":{"id":74528975,"uuid":"400615121","full_name":"aubreypwd/zsh-plugin-git-is-clean","owner":"aubreypwd","description":"A way to tell if a git repo is clean, then do something about it.","archived":false,"fork":false,"pushed_at":"2022-04-19T19:43:09.000Z","size":7,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-16T07:13:31.339Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aubreypwd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2021-08-27T19:25:06.000Z","updated_at":"2024-10-28T15:17:24.000Z","dependencies_parsed_at":"2023-05-20T16:31:16.188Z","dependency_job_id":null,"html_url":"https://github.com/aubreypwd/zsh-plugin-git-is-clean","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aubreypwd%2Fzsh-plugin-git-is-clean","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aubreypwd%2Fzsh-plugin-git-is-clean/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aubreypwd%2Fzsh-plugin-git-is-clean/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aubreypwd%2Fzsh-plugin-git-is-clean/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aubreypwd","download_url":"https://codeload.github.com/aubreypwd/zsh-plugin-git-is-clean/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248688565,"owners_count":21145766,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-06T04:16:11.537Z","updated_at":"2025-04-13T09:10:54.368Z","avatar_url":"https://github.com/aubreypwd.png","language":"Shell","funding_links":[],"categories":["Plugins"],"sub_categories":["ZSH on Windows"],"readme":"# `git-is-clean`\n\nThis function will return `true` or `false` depending on if it finds out your repo\nis dirty or not.\n\n## Usage\n\n```bash\ngit-is-clean \"path/to/repo\" || echo \"path/to/repo is dirty!\"\n```\n\nIn this example, if `path/to/repo` is dirty it will `echo` _path/to/repo is dirty!_\n\n## Requires\n\n- `git`\n\nIf you use https://github.com/aubreypwd/zsh-plugin-require we will try and install dependancies automatically.\n\n## Install\n\nUsing [antigen](https://github.com/zsh-users/antigen):\n\n```bash\nantigen bundle aubreypwd/zsh-plugin-git-is-clean@1.0.0\n```\n\n## Development\n\nInstall the package on `main`:\n\n```bash\nantigen bundle ssh://git@github.com/aubreypwd/zsh-plugin-git-is-clean\n```\n\n...and contribute upstream by working in `$HOME/.antigen/bundles/aubreypwd/zsh-plugin-git-is-clean`.\n\n## How I use this\n\n```bash\n###\n # Watch repositories.\n ##\nfunction __git-is-clean {\n    git-is-clean \"$1\" || ( echo \"🚨  $1 is dirty\" \u0026\u0026 tput bel )\n}\n__git-is-clean \"$HOME/Repos/github.com/aubreypwd/iTerm2\"\n__git-is-clean \"$HOME/Repos/github.com/aubreypwd/Alfred.alfredpreferences\"\n__git-is-clean \"$HOME/Repos/github.com/aubreypwd/subl-snippets\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faubreypwd%2Fzsh-plugin-git-is-clean","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faubreypwd%2Fzsh-plugin-git-is-clean","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faubreypwd%2Fzsh-plugin-git-is-clean/lists"}