Update 1-getting-started-lessons/2-github-basics/README.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
pull/1360/head
Lee Stott 2 months ago committed by GitHub
parent 2cc9c57b6b
commit 06e6090f39
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -243,10 +243,11 @@ Let's go through a contributor workflow. Assume the contributor has already _for
git merge main
```
The `git merge main` command will bring in all changes from `main` into your branch. Hopefully you can just continue. If not, VS Code will tell you where Git is _confused_ and you just alter the affected files to say which content is the most accurate.
To switch to a different branch, use the modern `git switch` command:
```bash
git switch [branch_name]
This will bring in all changes from `main` into your branch and hopefully you can just continue. If not, VS Code will tell you where Git is _confused_ and you just alter the affected files to say which content is the most accurate.
1. **Send your work to GitHub**. Sending your work to GitHub means two things. Pushing your branch to your repo and then open up a PR, Pull Request.

Loading…
Cancel
Save