🔵 Git Pull Before Changes
Before making changes to a project, we generally pull the latest changes from GitHub.
Before Starting
Open your project repository in VS Code. Open a new terminal in VS Code. For example, from the menu, select Terminal / New Terminal.
Pull Code from GitHub
Run this command from the project root folder (usually the default location):
shell
git pull origin main
After Pulling / Merge Conflicts
Review the output for updates or conflicts.
If there are merge conflicts, resolve them before continuing.
The best way to handle merge conflicts is to avoid them - always pull first. Most of us learn this the hard way. :)