dev:git
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| dev:git [2024/03/12 14:49] – [GIT] sbestel | dev:git [2024/03/12 14:54] (Version actuelle) – [GIT] sbestel | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| ====== GIT ====== | ====== GIT ====== | ||
| - | git status | + | * générique : |
| - | git log | + | git status |
| + | | ||
| + | git clean-f | ||
| + | git show | ||
| ===== Mettre à jour un repo Git ===== | ===== Mettre à jour un repo Git ===== | ||
| Ligne 32: | Ligne 35: | ||
| git branch -M main | git branch -M main | ||
| git push -uf origin main | git push -uf origin main | ||
| + | |||
| + | git remote -v show | ||
| + | git fetch gitlab | ||
| + | git push | ||
| + | |||
| + | ===== config ===== | ||
| + | |||
| + | nano .git/config | ||
| ===== à voir ===== | ===== à voir ===== | ||
| Ligne 39: | Ligne 50: | ||
| git switch --create main | git switch --create main | ||
| git rebase -i --root | git rebase -i --root | ||
| + | git remote add origin https:// | ||
dev/git.1710254982.txt.gz · Dernière modification : 2024/03/12 14:49 de sbestel
