Skip to content

WestleyK/easy-clone

Repository files navigation

Simple script to make it easier when cloning repos



Install:

cd ~/
git clone https://github.com/WestleyK/easy-clone.git
cd easy-clone/
sudo ./install.sh
source ~/.bashrc

Then to test it, type:

hubget <TAB> <TAB>

And 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, then try to close then reopen the terminal and it should work now. If it still doesn't work, then please open an issue.



Usage:

And now you can clone repo much easier.
Heres a example:

hubget WestleyK/rpi-brightness

See, pretty simple.
But now when you want to clone it again, just use TAB:

hubget WestleyK/rp <TAB>
hubget WestleyK/rpi-brightness


better README comming soon



End README