Table of contents
No headings in the article.
Hi, Have you already switched to a new branch and are yet to pull?
Follow this guide to making progress on your work:
. Open VS Code and make sure you have the repository cloned and open.
. Open the Terminal in VSCode by selecting Terminal, then the new terminal from the menu or press Ctrl + `.
- Fetch the latest changes from the remote repository.:
git fetch origin
//This retrieves any changes from the remote repository without merging
//them
- Create a new branch and switch to it:
git checkout -b new-branch-name
//This creates a new branch and switches to it.
- Pull changes from the master branch into your new branch:
git pull origin master
//This command fetches the latest changes from the master branch on the
//remote repository (origin) and merges them into your current branch,
//ensuring you're up-to-date with the latest code.
- Resolve any merge conflicts (if any) and commit them. After that, you’ll have the latest changes from the master branch on your new branch.
You can now continue working on the new branch!
Short and straightforward!
I do hope you find it useful!
Happy Coding!🎉✨