Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | ·ccfa1de7c1cfd544ece451acda7c4df7·81624·debug·optional·r-cran-gert-dbgsym_2.1.4+dfsg-1_amd64.deb | 1 | ·ccfa1de7c1cfd544ece451acda7c4df7·81624·debug·optional·r-cran-gert-dbgsym_2.1.4+dfsg-1_amd64.deb |
2 | · | 2 | ·2505c4f04a559e8c9d18fde29bfb321d·251996·gnu-r·optional·r-cran-gert_2.1.4+dfsg-1_amd64.deb |
Offset 170, 15 lines modified | Offset 170, 15 lines modified | ||
170 | git·config·--global·user.email·'jerry@gmail.com' | 170 | git·config·--global·user.email·'jerry@gmail.com' |
171 | git·config·--global·--list | 171 | git·config·--global·--list |
172 | </code></pre> | 172 | </code></pre> |
173 | <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> | 173 | <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> |
174 | <h2·id="local-repository-basics">Local·repository·basics</h2> | 174 | <h2·id="local-repository-basics">Local·repository·basics</h2> |
175 | <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> | 175 | <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> |
176 | <pre><code·class="language-r">(path·<-·file.path(tempdir(),·"aaa",·"bbb",·"repo_ccc")) | 176 | <pre><code·class="language-r">(path·<-·file.path(tempdir(),·"aaa",·"bbb",·"repo_ccc")) |
177 | #>·[1]·"/tmp/Rtmp | 177 | #>·[1]·"/tmp/Rtmp2NRRjZ/aaa/bbb/repo_ccc" |
178 | dir.exists(path) | 178 | dir.exists(path) |
179 | #>·[1]·FALSE | 179 | #>·[1]·FALSE |
180 | (r·<-·git_init(path)) | 180 | (r·<-·git_init(path)) |
181 | #>·Error·in·git_init(path):·could·not·find·function·"git_init" | 181 | #>·Error·in·git_init(path):·could·not·find·function·"git_init" |
182 | dir.exists(path) | 182 | dir.exists(path) |
183 | #>·[1]·FALSE | 183 | #>·[1]·FALSE |
Offset 31, 15 lines modified | Offset 31, 15 lines modified | ||
31 | git·config·--global·--list | 31 | git·config·--global·--list |
32 | To·inspect·and·change·local·Git·config,·i.e.·options·specific·to·one | 32 | To·inspect·and·change·local·Git·config,·i.e.·options·specific·to·one |
33 | repository,·use·git_config()·and·git_config_set(). | 33 | repository,·use·git_config()·and·git_config_set(). |
34 | *\x8**\x8**\x8**\x8**\x8*·L\x8Lo\x8oc\x8ca\x8al\x8l·r\x8re\x8ep\x8po\x8os\x8si\x8it\x8to\x8or\x8ry\x8y·b\x8ba\x8as\x8si\x8ic\x8cs\x8s·*\x8**\x8**\x8**\x8**\x8* | 34 | *\x8**\x8**\x8**\x8**\x8*·L\x8Lo\x8oc\x8ca\x8al\x8l·r\x8re\x8ep\x8po\x8os\x8si\x8it\x8to\x8or\x8ry\x8y·b\x8ba\x8as\x8si\x8ic\x8cs\x8s·*\x8**\x8**\x8**\x8**\x8* |
35 | gert::git_init()·is·essentially·git·init;·it’s·how·we·create·a·new·local | 35 | gert::git_init()·is·essentially·git·init;·it’s·how·we·create·a·new·local |
36 | repository.·You·provide·the·path·to·the·repository·you·want·to·create. | 36 | repository.·You·provide·the·path·to·the·repository·you·want·to·create. |
37 | (path·<-·file.path(tempdir(),·"aaa",·"bbb",·"repo_ccc")) | 37 | (path·<-·file.path(tempdir(),·"aaa",·"bbb",·"repo_ccc")) |
38 | #>·[1]·"/tmp/Rtmp | 38 | #>·[1]·"/tmp/Rtmp2NRRjZ/aaa/bbb/repo_ccc" |
39 | dir.exists(path) | 39 | dir.exists(path) |
40 | #>·[1]·FALSE | 40 | #>·[1]·FALSE |
41 | (r·<-·git_init(path)) | 41 | (r·<-·git_init(path)) |
42 | #>·Error·in·git_init(path):·could·not·find·function·"git_init" | 42 | #>·Error·in·git_init(path):·could·not·find·function·"git_init" |
43 | dir.exists(path) | 43 | dir.exists(path) |
44 | #>·[1]·FALSE | 44 | #>·[1]·FALSE |