Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thlorenz/resolve-git-remote
Resolves the remote url of the local git repository in the current folder.
https://github.com/thlorenz/resolve-git-remote
Last synced: 13 days ago
JSON representation
Resolves the remote url of the local git repository in the current folder.
- Host: GitHub
- URL: https://github.com/thlorenz/resolve-git-remote
- Owner: thlorenz
- License: mit
- Created: 2013-05-24T01:46:04.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2016-04-07T03:18:15.000Z (almost 9 years ago)
- Last Synced: 2024-05-08T17:30:47.478Z (9 months ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 1
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# resolve-git-remote [![build status](https://secure.travis-ci.org/thlorenz/resolve-git-remote.png)](http://travis-ci.org/thlorenz/resolve-git-remote)
Resolves the remote url of the local git repository in the current folder.
npm install resolve-git-remote
```js
var remote = require('resolve-git-remote');remote(function (err, remote) {
// err will be set if no remote was found
console.log(remote); // => 'thlorenz/resolve-git-remote'
});
```## Disclaimer
Code lifted from [travisify](https://github.com/substack/travisify).