Skip to content

Resolves the remote url of the local git repository in the current folder.

License

Notifications You must be signed in to change notification settings

thlorenz/resolve-git-remote

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

resolve-git-remote build status

Resolves the remote url of the local git repository in the current folder.

npm install resolve-git-remote
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.

About

Resolves the remote url of the local git repository in the current folder.

Resources

License

Stars

Watchers

Forks

Packages

No packages published