Bash script to download and remove branch name from Github zip files.
Step 1
Navigate to your desired destination from the command line, e.g
cd ./Desktop
Step 2
Download the bash script with the following command:
wget https://raw.githubusercontent.com/seothemes/github-rezip/master/rezip
Step 3
Optionally run the following to set correct permissions:
chmod 700 rezip
Run the following bash command, passing in the repository owner and name as arguments, e.g:
bash rezip rtyley/small-test-repo
You can also optionally pass in the branch name as a second argument if it is different to master.