https://github.com/developerstoolbox/git-root
A VERY simple Ruby Gem to give the root of any git repository
https://github.com/developerstoolbox/git-root
Last synced: over 1 year ago
JSON representation
A VERY simple Ruby Gem to give the root of any git repository
- Host: GitHub
- URL: https://github.com/developerstoolbox/git-root
- Owner: DevelopersToolbox
- License: mit
- Created: 2022-09-21T18:34:22.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-10-24T01:17:29.000Z (over 2 years ago)
- Last Synced: 2024-04-25T02:43:09.676Z (about 2 years ago)
- Language: Ruby
- Size: 47.9 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Citation: CITATION.cff
- Codeowners: .github/CODEOWNERS
- Security: .github/SECURITY.md
Awesome Lists containing this project
README
## Overview
A very simple RubyGem for returning the root of any git repository.
```ruby
require 'git-root'
puts GitRoot.path
```