Luavis / git-hub

shorten git clone and git add remote

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

shorten git clone and git add remote


Languages

Language:Shell 100.0%