#SSH #git

上下游同步

# vscode git error: would clobber existing tag
# 对本地代码tag的强制更新
git fetch --tags -f

# git push错误:ssh:Could not resolve hostname gitee.com:Name or service not known
ssh -T git@github.com
ping github.com
https://juejin.cn/post/7129443602379309086

# 拉取上游
git branch --set-upstream-to=myEnvoyGateway/main main
git pull upstream develop