Created
May 31, 2023 15:16
-
-
Save orzklv/77c6c8cabbab6e297c46188a4ee50413 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