Copy-paste or type this in your terminal:
curl https://raw.githubusercontent.com/WestleyK/easy-clone/master/easy-install.sh | sh
sudo mv hubget /usr/local/bin/
source ~/.bashrc
Then to test it, type:
hubget <TAB> <TAB>
You should see some stuff like:
WestleyK/arduino-key-pad WestleyK/drive-speed-test WestleyK/pi-backlight golang/dep
WestleyK/drive-mount WestleyK/easy-clone WestleyK/rpi-brightness WestleyK/ssh-watcher
WestleyK/drive-mounting-script WestleyK/install-script
If you don't, close and then reopen the terminal and it should work now. If it still doesn't work, then please open an issue.
cd ~/
git clone https://github.com/WestleyK/easy-clone.git
cd easy-clone/
./make.sh
sudo ./make.sh install
source ~/.bashrc
And now you can clone a repo much easier.
Here's a example:
hubget WestleyK/rpi-brightness
See? It's pretty simple!
When you want to clone it again, just use TAB:
hubget WestleyK/rp <TAB>
hubget WestleyK/rpi-brightness