Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
informatique:git [2015/04/03 12:37] igor [Installation] |
informatique:git [2018/07/29 09:08] (Version actuelle) |
||
---|---|---|---|
Ligne 3: | Ligne 3: | ||
===== Installation ===== | ===== Installation ===== | ||
- | | + | # aptitude install git |
===== Configuration ===== | ===== Configuration ===== | ||
- | | + | |
- | git config --global user.email [email@domain.tld] | + | $ git config --global user.email [email@domain.tld] |
- | git config --global user.signingkey [id] | + | $ git config --global user.signingkey [id] |
+ | |||
+ | ===== Créer un dépôt vide ===== | ||
+ | |||
+ | $ git --bare init | ||
+ | |||
+ | ===== Squash ===== | ||
+ | |||
+ | Pour réunir des commits en un seul, avec '' | ||
+ | |||
+ | $ git rebase -i HEAD-n | ||
+ | |||
+ | Où '' | ||
+ | |||
+ | ===== Erreur avec le .gitignore ===== | ||
+ | |||
+ | Voir : http:// |