Skip to content

Commit d51f0fd

Browse files
committed
Add git config information to Rstudio
1 parent d6f07fc commit d51f0fd

1 file changed

Lines changed: 16 additions & 3 deletions

File tree

source/manual-git-rstudio.Rmd

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,14 +83,27 @@ The path should be something like: `C:/Program Files (x86)/Git/bin/git.exe`
8383
### Git for RStudio setup: git configuration
8484

8585
1. Go to `Tools > Shell` to open the Git Shell
86-
1. Tell Git your username and GitHub email (!)
87-
88-
_TODO Stijn: how to set username and email?_
86+
1. Tell Git your Github (!) username and GitHub email
8987

9088
![RStudio setup git shell](manual-git/Rstudio-GitShell.png)
9189

9290
---
9391

92+
### Git for RStudio setup: git configuration
93+
94+
1. Go to `Tools > Shell` to open the Git Shell
95+
1. Tell Git your Github (!) username and GitHub email:
96+
97+
In the shell, type the following two commands:
98+
99+
```
100+
git config --global user.email "my.name@inbo.be"
101+
git config --global user.name "mygithubusername"
102+
```
103+
Use your GitHub username!
104+
105+
---
106+
94107
### Clone a repo to work locally
95108

96109
1. Copy the repository HTTPS url

0 commit comments

Comments
 (0)