diff --git a/git/check_out_remote_branch.md b/git/check_out_remote_branch.md index d2081e8..4416ee1 100644 --- a/git/check_out_remote_branch.md +++ b/git/check_out_remote_branch.md @@ -9,7 +9,9 @@ A colleague has opened a PR. I want to check out their branch on my own machine **Assumptions**: You have the repo checked out and set up locally on your machine. You work on it regularly. - Get the branch name that you want -- Back in your terminal, run `git fetch` to load all the remote branch +- Back in your terminal, get thee to wherever you have this repo +- I always check out `main` and update it at this point, just to be fresh +- Now run `git fetch` to load all the remote branches - Then run `git checkout ` You are now in a new branch on your local machine that is a copy of the branch at the remote.