Skip to content

Commit

Permalink
More clear that Git Bash is the thing
Browse files Browse the repository at this point in the history
  • Loading branch information
jennybc committed Jan 20, 2018
1 parent 5c1d8d8 commit 42296c6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion 07_install-git.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
4 changes: 2 additions & 2 deletions 80_shell.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand All @@ -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

Expand Down

0 comments on commit 42296c6

Please sign in to comment.