Skip to content

Instantly share code, notes, and snippets.

View crystalnyan's full-sized avatar
💖
愛してる

Crystal Kate crystalnyan

💖
愛してる
  • Tashkent, Uzbekistan
  • 19:11 (UTC +05:00)
View GitHub Profile
@crystalnyan
crystalnyan / push-with-personal-token.sh
Created August 22, 2023 10:07 — forked from orzklv/push-with-personal-token.sh
Pushing with GitHub Personal Token
#!/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