GIT/GITHUB

Si vous rencontrez une erreur du type Could not resolve host : github après un git push -u origin main, c’est que vous aviez mal orthographié l’adresse git. Pour corriger cela, passer la ligne suivante :
git remote set-url origin https://github.com/username/projetname.git