/git-hub

shorten git clone and git add remote

Primary LanguageShell

git-hub

Description

Clone first argument which automatically concat http://github.com/ if current directory is not git repository. If not add remote with argument which also concat http://github.com/.

Usage

If you want to clone git repository from github.

$ git hub luavis/git-hub

If you want to add remote in your github repository name as origin.

$ git hub origin luavis/git-hub