Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | ·f4ad453a3f9d74308cf3b452f1d01bbf·78048·debug·optional·r-cran-gert-dbgsym_1.9.2+dfsg-1_arm64.deb | 1 | ·f4ad453a3f9d74308cf3b452f1d01bbf·78048·debug·optional·r-cran-gert-dbgsym_1.9.2+dfsg-1_arm64.deb |
2 | · | 2 | ·328fa3d4094614a06c83836ee19da51a·238992·gnu-r·optional·r-cran-gert_1.9.2+dfsg-1_arm64.deb |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | -rw-r--r--···0········0········0········4·2022-12-12·13:02:49.000000·debian-binary | 1 | -rw-r--r--···0········0········0········4·2022-12-12·13:02:49.000000·debian-binary |
2 | -rw-r--r--···0········0········0·····2148·2022-12-12·13:02:49.000000·control.tar.xz | 2 | -rw-r--r--···0········0········0·····2148·2022-12-12·13:02:49.000000·control.tar.xz |
3 | -rw-r--r--···0········0········0···2366 | 3 | -rw-r--r--···0········0········0···236652·2022-12-12·13:02:49.000000·data.tar.xz |
Offset 123, 15 lines modified | Offset 123, 15 lines modified | ||
123 | git·config·--global·user.email·'jerry@gmail.com' | 123 | git·config·--global·user.email·'jerry@gmail.com' |
124 | git·config·--global·--list | 124 | git·config·--global·--list |
125 | </code></pre> | 125 | </code></pre> |
126 | <p>To·inspect·and·change·local·Git·config,·i.e.·options·specific·to·one·repository,·use·<code>git_config()</code>·and·<code>git_config_set()</code>.</p> | 126 | <p>To·inspect·and·change·local·Git·config,·i.e.·options·specific·to·one·repository,·use·<code>git_config()</code>·and·<code>git_config_set()</code>.</p> |
127 | <h2>Local·repository·basics</h2> | 127 | <h2>Local·repository·basics</h2> |
128 | <p><code>gert::git_init()</code>·is·essentially·<code>git·init</code>;·it’s·how·we·create·a·new·local·repository.·You·provide·the·path·to·the·repository·you·want·to·create.</p> | 128 | <p><code>gert::git_init()</code>·is·essentially·<code>git·init</code>;·it’s·how·we·create·a·new·local·repository.·You·provide·the·path·to·the·repository·you·want·to·create.</p> |
129 | <pre><code·class="language-r">(path·<-·file.path(tempdir(),·"aaa",·"bbb",·"repo_ccc")) | 129 | <pre><code·class="language-r">(path·<-·file.path(tempdir(),·"aaa",·"bbb",·"repo_ccc")) |
130 | #>·[1]·"/tmp/Rtmp | 130 | #>·[1]·"/tmp/RtmpFQtvZQ/aaa/bbb/repo_ccc" |
131 | dir.exists(path) | 131 | dir.exists(path) |
132 | #>·[1]·FALSE | 132 | #>·[1]·FALSE |
133 | (r·<-·git_init(path)) | 133 | (r·<-·git_init(path)) |
134 | #>·Error·in·git_init(path):·could·not·find·function·"git_init" | 134 | #>·Error·in·git_init(path):·could·not·find·function·"git_init" |
135 | dir.exists(path) | 135 | dir.exists(path) |
136 | #>·[1]·FALSE | 136 | #>·[1]·FALSE |
Offset 32, 15 lines modified | Offset 32, 15 lines modified | ||
32 | git·config·--global·--list | 32 | git·config·--global·--list |
33 | To·inspect·and·change·local·Git·config,·i.e.·options·specific·to·one | 33 | To·inspect·and·change·local·Git·config,·i.e.·options·specific·to·one |
34 | repository,·use·git_config()·and·git_config_set(). | 34 | repository,·use·git_config()·and·git_config_set(). |
35 | *****·Local·repository·basics·***** | 35 | *****·Local·repository·basics·***** |
36 | gert::git_init()·is·essentially·git·init;·itâs·how·we·create·a·new·local | 36 | gert::git_init()·is·essentially·git·init;·itâs·how·we·create·a·new·local |
37 | repository.·You·provide·the·path·to·the·repository·you·want·to·create. | 37 | repository.·You·provide·the·path·to·the·repository·you·want·to·create. |
38 | (path·<-·file.path(tempdir(),·"aaa",·"bbb",·"repo_ccc")) | 38 | (path·<-·file.path(tempdir(),·"aaa",·"bbb",·"repo_ccc")) |
39 | #>·[1]·"/tmp/Rtmp | 39 | #>·[1]·"/tmp/RtmpFQtvZQ/aaa/bbb/repo_ccc" |
40 | dir.exists(path) | 40 | dir.exists(path) |
41 | #>·[1]·FALSE | 41 | #>·[1]·FALSE |
42 | (r·<-·git_init(path)) | 42 | (r·<-·git_init(path)) |
43 | #>·Error·in·git_init(path):·could·not·find·function·"git_init" | 43 | #>·Error·in·git_init(path):·could·not·find·function·"git_init" |
44 | dir.exists(path) | 44 | dir.exists(path) |
45 | #>·[1]·FALSE | 45 | #>·[1]·FALSE |