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
title: Git CPP
subtitle: Concepts, Porcelain & Plumbing
date: 2024 / 03
lang: fr
title: Git PPP
subtitle: Possibilités, Porcelaine & Plomberie
---
# Git
# Possibilités
## Concepts
# Outils
* hash
* sha1 (sha256)
## Hachage
## Porcelain
::: incremental
* SHA-1
* SHA-256
:::
* git init
* 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
## Pointeurs
## Plumbing
* branches
* étiquettes
* .git/config
* .git/description
* .git/refs
* heads/branch
* remotes/remote/branch
* tags/tag
* .git/objects
* .git/objects
* git cat-file -t|-p hash
* git update-ref refs/heads/dev hash
* git symbolic-ref HEAD refs/heads/main
* git hash-object -w file
* git update-index
* git write-tree
* git commit-tree
# Concepts
## Zones
::: incremental
* répertoire de travail
* index
* historique
:::
# Porcelaine
## 1
## 2
# Porcelaine → Bases
## 1
## 2
# Plomberie
## 1
## 2