Git - Push a new project to a remote repository on Github
git init git add . (git add --ignore-errors .) git commit -m "first commit" git remote add origin https://github.com/ayoubbensakhria/repo.git
git remote -v
git remote rm origin
(git remote set-url origin https://github.com/ayoubbensakhria/repo.git)
git push -u origin master
New git auth (token instead of pass)
https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token
Commentaires
Enregistrer un commentaire