Skip to content
This repository was archived by the owner on Dec 12, 2025. It is now read-only.

Commit

Permalink
Cleanup for git and ssh persistant storage in work
Browse files Browse the repository at this point in the history
  • Loading branch information
tmiddelkoop committed May 31, 2024
1 parent 1525b2f commit 166a815
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions Notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@
* Click on the "Terminal"
* Verify that you are in your project folder `~/work/...`
* Run (note the quotes and replace with your information) the following in the terminal:
```
git config credential.helper cache
```bash
git config credential.helper store
git config user.name "First Last"
git config user.email "first_last@skc.edu"
git config --local --list
Expand Down Expand Up @@ -172,7 +172,6 @@ git config user.name "First Last"
git config user.email "first_last@skc.edu"
git config --local --list
```
*Please note we do not use `--global` since no global settings are saved in this Environment.

For personal access token projects, configure a persistent git configuration. Use this code in a `setup.sh` bash script or bash notebook that you must run once after logging in and launching a new envrionment.
```bash
Expand Down Expand Up @@ -208,8 +207,3 @@ options(repos = list(CRAN="http://cran.rstudio.com/"))
install.packages(c("tidyverse", "lubridate", "ratdat"))
install.packages("ggplot2")
```

If you want to run this script from your setup.sh you can add code:
```bash
Rscript setup.R
```

0 comments on commit 166a815

Please sign in to comment.