@@ -372,7 +372,7 @@ to ensure that Git doesn't create merge commits when `git pull`ing, without
372372needing to pass ` --ff-only ` or ` --rebase ` every time.
373373
374374You can also ` git push --force-with-lease ` from main to double-check that your
375- feature branches are in sync with their state on the Github side.
375+ feature branches are in sync with their state on the GitHub side.
376376
377377## Advanced Rebasing
378378
@@ -494,7 +494,7 @@ to follow and understand.
494494
495495### Hiding whitespace
496496
497- Github has a button for disabling whitespace changes that may be useful.
497+ GitHub has a button for disabling whitespace changes that may be useful.
498498You can also use ` git diff -w origin/main ` to view changes locally.
499499
500500![ hide whitespace] ( ./img/github-whitespace-changes.png )
@@ -505,7 +505,7 @@ To checkout PRs locally, you can use `git fetch upstream pull/NNNNN/head && git
505505FETCH_HEAD`.
506506
507507You can also use github's cli tool.
508- Github shows a button on PRs where you can copy-paste the command to check it out locally.
508+ GitHub shows a button on PRs where you can copy-paste the command to check it out locally.
509509See < https://cli.github.com/ > for more info.
510510
511511![ ` gh ` suggestion] ( ./img/github-cli.png )
@@ -521,7 +521,7 @@ for more details.
521521
522522### Moving large sections of code
523523
524- Git and Github 's default diff view for large moves * within* a file is quite poor; it will show each
524+ Git and GitHub 's default diff view for large moves * within* a file is quite poor; it will show each
525525line as deleted and each line as added, forcing you to compare each line yourself.
526526Git has an option to show moved lines in a different color:
527527
@@ -562,7 +562,7 @@ Rust projects from within the `rust` repo.
562562Examples include Rust's fork of
563563` llvm-project ` , ` cargo ` , and libraries like ` stdarch ` and ` backtrace ` .
564564
565- Those projects are developed and maintained in an separate Git (and GitHub)
565+ Those projects are developed and maintained in a separate Git (and GitHub)
566566repository, and they have their own Git history/commits, issue tracker and PRs.
567567Submodules allow us to create some sort of embedded sub-repository inside the
568568` rust ` repository and use them like they were directories in the ` rust ` repository.
0 commit comments