Package Exports
- remote-origin-url
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (remote-origin-url) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
remote-origin-url 
Get the git remote origin URL from your local git repository. Remember! A remote origin must exist first!
Installation
Install with npm:
npm i remote-origin-url --save
Install with bower:
bower install remote-origin-url --save
Usage
Using the defaults:
var origin = require('remote-origin-url');
console.log(origin.url());
// "https://github.com/jonschlinkert/remote-origin-url.git"
Specify the "base" directory, excluding .git
. Example:
origin.url(__dirname);
Authors
Jon Schlinkert
License
Copyright (c) 2014 Jon Schlinkert, contributors. Released under the MIT license