diff --git a/env.sh b/env.sh new file mode 100644 index 0000000..ea5dbe6 --- /dev/null +++ b/env.sh @@ -0,0 +1,9 @@ +#!/bin/bash +# Setup shell with: +# . ./env.sh + +export SSH_AUTH_SOCK=/run/lock/agent.$USER +if [ ! -S $SSH_AUTH_SOCK ] ; then + eval `ssh-agent -a $SSH_AUTH_SOCK` | grep -v "^Agent pid" + ssh-add ~/work/.ssh/id_rsa +fi diff --git a/prep/Setup.Rmd b/prep/Setup.Rmd index 18a6a2f..5b08db4 100644 --- a/prep/Setup.Rmd +++ b/prep/Setup.Rmd @@ -25,6 +25,19 @@ editor_options: --- ``` +## Git + +Setup Git + +```{bash} +git config color.ui auto +git config pull.ff only +git config push.default simple + +#git config user.name "First Last" +#git config user.email "first_last@example.edu" +``` + Notes: * R Notebooks seem fragile and Caching output seems dangerous. Use "Chunk Output Inline" for a more Notebook experence or use Juypter! diff --git a/prep/Setup.html b/prep/Setup.html index daa4f37..fe5986b 100644 --- a/prep/Setup.html +++ b/prep/Setup.html @@ -370,6 +370,15 @@
Setup Git
+git config color.ui auto
+git config pull.ff only
+git config push.default simple
+
+#git config user.name "First Last"
+#git config user.email "first_last@example.edu"
Notes:
Top/bottom