This commit is contained in:
Marc Beninca 2024-02-28 17:43:10 +01:00
parent 724adb2ee4
commit 9e48bef384

View file

@ -1,59 +1,45 @@
--- ---
author: Marc Beninca author: Marc Beninca
title: Git CPP
subtitle: Concepts, Porcelain & Plumbing
date: 2024 / 03 date: 2024 / 03
lang: fr
title: Git PPP
subtitle: Possibilités, Porcelaine & Plomberie
--- ---
# Git # Possibilités
## Concepts # Outils
* hash ## Hachage
* sha1 (sha256)
## Porcelain ::: incremental
* SHA-1
* SHA-256
:::
* git init ## Pointeurs
* bare | non-bare
* git config
* system → global → local
* user name & email
* description
* git status
* git branch --force
* git add
* git commit
* git checkout | switch
* git worktree
* git merge
* fast-forward
* three-way
* git rebase
* as-is
* merge-squash
* cherry-pick
* interactive
* git reflog
* git remote | clone
* git fetch | pull
* git push
* git tag
## Plumbing * branches
* étiquettes
* .git/config # Concepts
* .git/description
* .git/refs ## Zones
* heads/branch
* remotes/remote/branch ::: incremental
* tags/tag * répertoire de travail
* .git/objects * index
* .git/objects * historique
* git cat-file -t|-p hash :::
* git update-ref refs/heads/dev hash
* git symbolic-ref HEAD refs/heads/main # Porcelaine
* git hash-object -w file ## 1
* git update-index ## 2
* git write-tree
* git commit-tree # Porcelaine → Bases
## 1
## 2
# Plomberie
## 1
## 2