bases,plomberie
This commit is contained in:
parent
9e48bef384
commit
3c481766a0
1 changed files with 44 additions and 4 deletions
48
index.md
48
index.md
|
@ -37,9 +37,49 @@ subtitle: Possibilités, Porcelaine & Plomberie
|
|||
## 2
|
||||
|
||||
# Porcelaine → Bases
|
||||
## 1
|
||||
## 2
|
||||
|
||||
## git init
|
||||
|
||||
* bare | non-bare
|
||||
|
||||
## git config
|
||||
|
||||
* system → global → local
|
||||
* user name & email
|
||||
* description
|
||||
|
||||
## git status
|
||||
|
||||
* -u
|
||||
|
||||
# Plomberie
|
||||
## 1
|
||||
## 2
|
||||
|
||||
## Basique
|
||||
|
||||
* .git/
|
||||
|
||||
::: incremental
|
||||
* config
|
||||
* description
|
||||
:::
|
||||
|
||||
## Pointeurs
|
||||
|
||||
* .git/refs/
|
||||
|
||||
::: incremental
|
||||
1. heads/branch
|
||||
1. remotes/remote/branch
|
||||
1. tags/tag
|
||||
:::
|
||||
|
||||
## Objets
|
||||
|
||||
* .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
|
||||
|
|
Loading…
Reference in a new issue