Last active
May 14, 2018 17:21
-
-
Save tphdev/a372c57b27624d2cd024f341465f3e4a to your computer and use it in GitHub Desktop.
Linux 'hub' installation instructions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# (i) clone the repo | |
mkdir -p ~/tmpdir && cd ~/_tmpdir | |
git clone https://github.com/github/hub.git && cd hub | |
# (iii) build the hub script w/ go | |
script/build -o ~/bin/hub | |
# (iii) into /usr/local/bin | |
sudo mv ~/bin/hub /usr/local/bin | |
cd ~ | |
rm -rf ~/tmpdir |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment