git新建远程分支后 pycharm本地看不到 处理方式

远程仓库新建分支:odoo_test_env

首先切换到本地代码git init目录:git remote update origin --prune

odoo@odoo-test:~/odooshare/at_cloud_logistics$ git remote update origin --prune
Fetching origin
Password for 'http://×××××远程git服务地址':
From http://×××××远程git服务地址
 * [new branch]      odoo_test_env -> origin/odoo_test_env

猜你喜欢

转载自www.cnblogs.com/hellojesson/p/9203993.html