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
# Add remote | |
git remote add origin https://github.com/user/repo.git | |
# Save git credential | |
git config --global credential.helper store | |
# Enable this to separate git credentials for different repos | |
git config --global credential.github.com.useHttpPath true | |
# Delete branch local (multiple delete): |
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 | |
# Link to download resource as first argument | |
base_url=$1 | |
# end | |
# Number to stop the incrementing id | |
end_id=$2 | |
# starting id, will default to 1 if empty |
OlderNewer