Is there a simple command in windows powershell to get the latest code from a git remote repository? I have already installed git posh
Note:
You can use git clone
git clone <http or ssh address for the repository>
If you have already cloned the repo, you need to checkout the branch then pull it.
git checkout <branch name>
git pull
If you have no branches available to checkout from remote:
git fetch origin
And see what branches are available to checkout with:
git checkout -v -a
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.