diff --git a/book/07-git-tools/sections/subtree-merges.asc b/book/07-git-tools/sections/subtree-merges.asc index 24bfa3aee..414e49170 100644 --- a/book/07-git-tools/sections/subtree-merges.asc +++ b/book/07-git-tools/sections/subtree-merges.asc @@ -21,11 +21,11 @@ Receiving objects: 100% (3184/3184), 677.42 KiB | 4 KiB/s, done. Resolving deltas: 100% (1952/1952), done. From https://github.com/rack/rack * [new branch] build -> rack_remote/build - * [new branch] master -> rack_remote/master + * [new branch] main -> rack_remote/main * [new branch] rack-0.4 -> rack_remote/rack-0.4 * [new branch] rack-0.9 -> rack_remote/rack-0.9 -$ git checkout -b rack_branch rack_remote/master -Branch rack_branch set up to track remote branch refs/remotes/rack_remote/master. +$ git checkout -b rack_branch rack_remote/main +Branch rack_branch set up to track remote branch refs/remotes/rack_remote/main. Switched to a new branch "rack_branch" ---- @@ -95,9 +95,9 @@ Instead, you must run `git diff-tree` with the branch you want to compare to: $ git diff-tree -p rack_branch ---- -Or, to compare what is in your `rack` subdirectory with what the `master` branch on the server was the last time you fetched, you can run: +Or, to compare what is in your `rack` subdirectory with what the `main` branch on the server was the last time you fetched, you can run: [source,console] ---- -$ git diff-tree -p rack_remote/master +$ git diff-tree -p rack_remote/main ----