Photo by Jen Theodore on Unsplash
Updating the local with Git
💡Update the local version of a repository from a remote repository.
1.- The git pull
command is used to fetch and download content from a remote repository and immediately update the local repository to match that content. Assume I have a repository with a main branch and a remote origin the command is:
git pull origin main