From 42296c68320309907874bec0aa88bc684a279a94 Mon Sep 17 00:00:00 2001 From: Jenny Bryan Date: Fri, 19 Jan 2018 20:58:55 -0800 Subject: [PATCH] More clear that Git Bash is the thing --- 07_install-git.Rmd | 2 +- 80_shell.Rmd | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/07_install-git.Rmd b/07_install-git.Rmd index 1a0f576c..7530f398 100644 --- a/07_install-git.Rmd +++ b/07_install-git.Rmd @@ -26,7 +26,7 @@ If, instead, you see something more like `git: command not found`, keep reading. Mac OS users might get an immediate offer to install command line developer tools. Yes, you should accept! Click "Install" and read more below. -## Windows +## Windows {#install-git-windows} **Option 1** (*highly recommended*): Install [Git for Windows](https://git-for-windows.github.io/), also known as `msysgit` or "Git Bash", to get Git in addition to some other useful tools, such as the Bash shell. Yes, all those names are totally confusing, but you might encounter them elsewhere and I want you to be well-informed. diff --git a/80_shell.Rmd b/80_shell.Rmd index bf70a6ee..fe78d00c 100644 --- a/80_shell.Rmd +++ b/80_shell.Rmd @@ -34,7 +34,7 @@ There are no fewer than 4 possible shells you can end up in. Unless you know bet #### Git Bash -This is a bash shell that ships with Git for Windows. It is hopefully what RStudio will launch for you, especially from v1.1.383 and on. You can inspect and influence this directly via *Tools > Global Options > Terminal*. Unless you have good reason to do otherwise, you want to select "Git Bash" here. +This is a bash shell that ships with Git for Windows, which is [the Happy Git way to install Git on Windows](#install-git-windows). It is hopefully what RStudio will launch for you, especially from v1.1.383 and on. You can inspect and influence this directly via *Tools > Global Options > Terminal*. Unless you have good reason to do otherwise, you want to select "Git Bash" here. A Git Bash shell should look something like this: @@ -58,7 +58,7 @@ Notice the `cmd.exe` in the title bar. In Command Prompt, `echo %comspec%` gives `C:\WINDOWS\system32\cmd.exe`. -If you get an error message such as `'pwd' is not recognized as an internal or external command, operable program or batch file.` from any of the previous commands, that suggests you have somehow launched into `cmd.exe`. +If you get an error message such as `'pwd' is not recognized as an internal or external command, operable program or batch file.` from any of the commands given here, that suggests you have somehow launched into `cmd.exe`. #### Power Shell