1
git stash
git pull origin main
注意这里本人使用
git pull origin master
则会报错:
git pull origin master fatal: couldn't find remote ref master
git stash pop