Onse place dans notre dossier
cd myfolder
On initialise notre repo
git init
et enfin
git remote add origin "https://github.com/mon_git/$mon_repo.git"
Si on a deja nos fichiers présent on les ajoute
git add --all
enfin on fait notre premier commit
git commit -m "mon premier commit"
et pour finir on push
git push -u origin master
Pour mettre a jour
git commit -am "file update"
git push -u origin master
Poster un Commentaire