- principe
- github / bitbucket / serveur
- ligne de commande / desktop gui
- local / remote
- historique
- pull request
- creer un compte
- installer git sur la machine
- lier le compte à la machine :
git config --global --edit
- ou lier le user name
git config --global user.name "John Doe"
- et lier le user email
git config --global user.email johndoe@example.com
- Why is Git always asking for my password?
- aide :
git help <verbe>
- créer le repo :
git init
dans le dossier ou Via github - commit initial :
git add file
,git commit -m "message"
,git push
pull
/commit
/push
fetch
/add
/clone
/status
git commit --amend
branch
/checkout
/checkout -- file
/add .
log
diff
merge
reflog
reset #{HEAD1}
/reset --hard origin/master
rebase
rebase -i
(interactif)