git-remote-origin-url : Get the remote origin url of a git repository. You can installing git-remote-origin-url npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.
$ sudo npm install git-remote-origin-url $ sudo npm install -g git-remote-origin-url
If want to update the git-remote-origin-url package execute the command as below,
$ sudo npm update git-remote-origin-url
Update package globally,
$ npm install -g git-remote-origin-url
$ sudo git clone https://github.com/rektide/git-remote-origin-url.git
$ sudo npm install -g ./git-remote-origin-url
git-remote-origin-url@2.0.0 /usr/lib/node_modules/git-remote-origin-url
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall git-remote-origin-url
Package Name | git-remote-origin-url |
Version | 2.0.0 |
Description | Get the remote origin url of a git repository |
Released Date | 2016-01-12T17:09:03.855Z |
Published by | sindresorhus |
How to Learn | https://www.npmjs.com/package/git-remote-origin-url/tutorial |