git-u
Short github command line by auto-building github url.
Installation
This command will be required the node.js or io.js environment. So, please install one of them into your computer before installing this command.
$ npm install -g git-u
How to use
$ git-u [command] owner repository
where:
command
is the git's command. Default is clone
owner
is the repository's owner namerepository
is the repository's name
git-u
builds the github's clone url by using your owner
and repository
option.
Examples
git-u dominhhai git-u
runs the git clone https://github.com/dominhhai/git-u.git
command.git-u clone dominhhai git-u gitu
runs the git clone https://github.com/dominhhai/git-u.git gitu
command.git-u remote add origin dominhhai git-u
runs the git remote add origin https://github.com/dominhhai/git-u.git
command.