[074d3d]: / doc / _static / diagrams / git_setup.dot

Download this file

65 lines (51 with data), 1.8 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
digraph gitstructure {
/* LAYOUT CONTROL */
rankdir=UD
newrank=true
ranksep=0.75
clusterrank=local
labelloc=t
pad=0.1
/* GLOBAL TITLE */
label="Schematic of recommended setup"
/* GLOBAL STYLES */
splines=true
fontsize=20
fontname="Source Sans Pro"
node [shape=box
style=filled
fontsize=12
fontname="Source Sans Pro"
fillcolor="#bbbbbb"
margin="0.35,0.1"]
edge [arrowsize=1.2
penwidth=2.5
fontsize=16
fontname="Source Code Pro"]
/* REMOTES */
subgraph cluster_0 {
label=<<B>REMOTES<BR/> </B>>
color="#33bbee"
fontcolor="#33bbee"
fontsize=18
style=dashed
penwidth=1.5
upstream [label=<<FONT POINT-SIZE="16">Official version (“upstream”)</FONT><BR ALIGN="LEFT"/>https://github.com/mne-tools/mne-python>]
yourfork [label=<<FONT POINT-SIZE="16">Your fork (“origin”)</FONT><BR ALIGN="LEFT"/>https://github.com/your_github_username/mne-python>]
}
/* LOCAL */
yourclone [label=<<FONT POINT-SIZE="16">Your local clone</FONT><BR ALIGN="LEFT"/>/somewhere/on/your/computer/mne-python/>]
/* edges */
upstream -> yourfork [label="1. “fork” button on \l upstream's GitHub page"
color="#ee7733"
fontcolor="#ee7733"
fontname="Source Sans Pro"]
yourfork -> yourclone [label="2. git clone ... \l"
color="#00998855"
fontcolor="#009988"]
yourclone -> upstream [label="3. git remote add ... \r"
color="#ee337755"
fontcolor="#ee3377"]
/* align "remote" boxes */
{ rank="same" upstream yourfork }
}