Comment obtenir de l’aide pour une commande Git
aide git [-a|–all|-i|–info|-m|–man|-w|–web] [COMMAND]
Exemple : git help git
Il lance un navigateur et affiche une aide en HTML.
Configuration du référentiel local et réalisation du push initial :
cd my_project
git init
git add *
git commit -m "My initial commit message"
git remote add origin git@example.com:my_project.git
git push -u origin master
Dépôt de paiement
git clone git://github.com/schacon/grit.git
Pour valider les modifications dans le référentiel local, ajoutez simplement, puis validez. Si vous souhaitez transférer la branche/les modifications locales vers le référentiel distant, exécutez simplement la commande push ci-dessous.
git add --all git commit --all git push
Commande Pousser vers le référentiel
git push <remote> <local branch name>:<remote branch to push into>
git push [--all | --mirror | --tags] [--follow-tags] [-n | --dry-run] [--receive-pack=]
[--repo=] [-f | --force] [--prune] [-v | --verbose] [-u | --set-upstream]
[--force-with-lease[=[:]]]
[--no-verify] [ […]]
D’autres commandes à trouver dans les liens suivants.
Git quotidien avec 20 commandes
https://www.kernel.org/pub/software/scm/git/docs/everyday.html
Bons tutoriels Git
Tutoriel 1 premier à réaliser – http://git-scm.com/docs/gittutorial
Tutoriel 2 secondes à réaliser – http://git-scm.com/docs/gittutorial-2.html
Tutoriel supplémentaire – http://www.vogella.com/tutorials/Git/article.html#firstgit_repostatus

Laisser une réponse