πŸ‡¨πŸ‡­SwissTronik Upload Github Repository

sudo apt update
sudo apt install git

DONT CHANGE !

git config --global user.name "Your Name"
git config --global user.email "youremail@gmail.com"
git init
git add .
git commit -m "Initial commit"

Crate a new repository on Github

Visit : https://github.com/settings/tokens/new Not : anything Select scopes : Repo And Generate Token SAVE!

git remote add origin https://YOUR_GITHUB_USERNAME:ACCESS_TOKEN@REPO_LINK_BEGIN_WITHOUT_HTTPS_AND_END_WITH_.git
git branch -M main
git push -u origin main

Github Username - Github Password ( Generated Token )

Done

Last updated