{"id":17465446,"url":"https://github.com/suhlig/git-dirty","last_synced_at":"2026-05-03T07:33:15.092Z","repository":{"id":56874283,"uuid":"177963780","full_name":"suhlig/git-dirty","owner":"suhlig","description":"Rake task to record the git status in a separate file","archived":false,"fork":false,"pushed_at":"2022-08-23T07:38:09.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-23T23:52:56.958Z","etag":null,"topics":["git","rake"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/suhlig.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-27T09:44:08.000Z","updated_at":"2022-08-23T07:36:36.000Z","dependencies_parsed_at":"2022-08-20T10:11:06.370Z","dependency_job_id":null,"html_url":"https://github.com/suhlig/git-dirty","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/suhlig%2Fgit-dirty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suhlig%2Fgit-dirty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suhlig%2Fgit-dirty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suhlig%2Fgit-dirty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/suhlig","download_url":"https://codeload.github.com/suhlig/git-dirty/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245991585,"owners_count":20706129,"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":["git","rake"],"created_at":"2024-10-18T11:42:43.807Z","updated_at":"2026-05-03T07:33:10.942Z","avatar_url":"https://github.com/suhlig.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Git::DirtyFile\n\nRake task to record the git status in a separate file\n\n# Usage\n\nAdd it to your Gemfile:\n\n```ruby\ngem \"git-dirty\"\n```\n\nIn your `Rakefile`:\n\n```ruby\nrequire 'git-dirty'\ngit_dirty_file 'tmp/git-status'\n```\n\nNow you will have a new rake target for `tmp/git-status\u001c`, which will be updated whenever the contents of that file differ from the actual status.\n\nThe status is represented by the output of `git rev-parse --short HEAD` (which provides the SHA of the current git HEAD). If the workspace is dirty (i.e. has new, changed or deleted files), an asterisk (`\u001d*`) is appended.\n\n# License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuhlig%2Fgit-dirty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuhlig%2Fgit-dirty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuhlig%2Fgit-dirty/lists"}