Sha256: 608d08fe004beb6066c412c909b6c49b623637f3d84c01a003f06812cb4d0a25
Contents?: true
Size: 717 Bytes
Versions: 1
Compression:
Stored size: 717 Bytes
Contents
# Git::DirtyFile Rake task to record the git status in a separate file # Usage Add it to your Gemfile: ```ruby gem "git-dirty" ``` In your `Rakefile`: ```ruby require 'git-dirty' git_dirty_file 'tmp/git-status' ```` Now you will have a new rake target for `tmp/git-status`, which will be updated whenever the contents of that file differ from the actual status. The 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 (`*`) is appended. # License The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
git-dirty-1.0.0 | README.markdown |