-
-
Save crystalnyan/93068eafb236d37fd9766416fb4d6e7f to your computer and use it in GitHub Desktop.
Pushing with GitHub Personal Token
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 | |
# shellcheck disable=SC2164 | |
cd "$(dirname "$0")" | |
export GITHUB_ACCESS_TOKEN="" | |
export GITHUB_USERNAME="" | |
export REPOSITORY_NAME="" | |
git push https://"$GITHUB_ACCESS_TOKEN"@github.com/"$GITHUB_USERNAME"/"$REPOSITORY_NAME".git |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment