解决git中upstream丢失问题Your branch is based on 'origin/xxxx', but the upstream is gone.

转自 https://blog.csdn.net/limengke123/article/details/77850134

原文地址:https://www.cnblogs.com/polax/p/10683023.html