Created
March 15, 2018 15:38
-
-
Save Benehiko/df3b58b94d1fc936e42fe52a0e86b3ba to your computer and use it in GitHub Desktop.
Clone branch bash script
This file contains 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 | |
#Simple script to pull compiled jar and lib | |
echo "Enter github repository URL" | |
read $github | |
echo "Enter branch to clone" | |
read $branch | |
git clone -b $branch --single-branch $github | |
echo "Fetched compiled jar and lib" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment