User Tools

Site Tools


get:setting_up_a_github_account

This is an old revision of the document!


github.com → login → create a new repo

→ nom → description

créer un dépôt local et cloner le dépôt en ligne

touch README.md
git init
git add README.md
git commit -m "initial commit"
git remote add origin git@github.com:<username>/<nom du dépot>.git
git push -u origin master

push un dépôt local vers le nouveau dépôt remote

git remote add origin https://github.com/<username>/<nom du dépot>.git
git push -u origin master
get/setting_up_a_github_account.1462183691.txt.gz · Last modified: 2016/05/02 12:08 by leo