try mermaid
This commit is contained in:
parent
26153219b2
commit
c4bcebe677
32
docs/commands/push.md
Normal file
32
docs/commands/push.md
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
|
||||||
|
## Push
|
||||||
|
|
||||||
|
```mermaid
|
||||||
|
flowchart TD
|
||||||
|
A[Start] --> G[Get staged objects]
|
||||||
|
G --> GNO[Get next object]
|
||||||
|
GNO --> H{Object empty ?}
|
||||||
|
H --> |No| B{Is a directory ?}
|
||||||
|
H ----> |Yes| F[End]
|
||||||
|
B --> |Yes| C[Push Folder]
|
||||||
|
B --> |No| E[Push File]
|
||||||
|
C --> GNO
|
||||||
|
E --> GNO
|
||||||
|
```
|
||||||
|
|
||||||
|
## Pushing a folder
|
||||||
|
|
||||||
|
```mermaid
|
||||||
|
flowchart TD
|
||||||
|
A[Start] --> B{Is local folder older than the server one ?}
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
## Pushing a file
|
||||||
|
|
||||||
|
```mermaid
|
||||||
|
|
||||||
|
|
||||||
|
```
|
0
docs/index.md
Normal file
0
docs/index.md
Normal file
Loading…
Reference in New Issue
Block a user