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:38] igor [Configuration] |
informatique:git [2018/07/29 09:08] (Version actuelle) |
||
|---|---|---|---|
| Ligne 3: | Ligne 3: | ||
| ===== Installation ===== | ===== Installation ===== | ||
| - | | + | # aptitude install git |
| ===== Configuration ===== | ===== Configuration ===== | ||
| - | | + | $ git config --global user.name [name] |
| - | $ git config --global user.email [email@domain.tld] | + | |
| - | $ 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:// | ||