From 56e4dd714f34c572c2af3a9231fb87cc55b348aa Mon Sep 17 00:00:00 2001 From: James Skemp Date: Tue, 13 Oct 2020 08:26:42 -0500 Subject: [PATCH] Add macOS and Windows-specific getting started pages I always forget how to upgrade Git on macOS, and Stack Overflow is down so ... add it to my book.. --- src/SUMMARY.md | 2 ++ src/getting-started/macos.md | 19 +++++++++++++++++++ src/getting-started/windows.md | 5 +++++ 3 files changed, 26 insertions(+) create mode 100644 src/getting-started/macos.md create mode 100644 src/getting-started/windows.md diff --git a/src/SUMMARY.md b/src/SUMMARY.md index 863fe60..2e9c994 100644 --- a/src/SUMMARY.md +++ b/src/SUMMARY.md @@ -3,6 +3,8 @@ * [Introduction](introduction.md) * [Notes and warnings](notes.md) * [Getting Started](getting-started.md) + * [macOS](getting-started/macos.md) + * [Windws](getting-started/windows.md) * [Configuration](configuration.md) * [User information](configuration/user.md) * [Git configuration](configuration/git.md) diff --git a/src/getting-started/macos.md b/src/getting-started/macos.md new file mode 100644 index 0000000..12ffec4 --- /dev/null +++ b/src/getting-started/macos.md @@ -0,0 +1,19 @@ +# Getting started on macOS + +Use [Homebrew](https://brew.sh/). + +## Install Git +```bash +brew install git +``` + +## Update Git +If you haven't updated brew in a while, you can both make sure it and all applications are current. +```bash +brew update && brew upgrade +``` + +Otherwise just upgrade Git itself: +```bash +brew upgrade git +``` diff --git a/src/getting-started/windows.md b/src/getting-started/windows.md new file mode 100644 index 0000000..dad7c2a --- /dev/null +++ b/src/getting-started/windows.md @@ -0,0 +1,5 @@ +# Getting started on Windows +There's a lot of different options. In no particular order: + +* [Git for Windows](https://git-scm.com/download/win) +* [Cmder](https://cmder.net/)