日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 >

Git之提示There is no tracking information for the current branch.

發布時間:2023/12/4 35 豆豆
生活随笔 收集整理的這篇文章主要介紹了 Git之提示There is no tracking information for the current branch. 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

1 問題

我項目比如是0.2分支,我需要修改項目的git地址,然后再pull新的代碼

1)修改github地址(讀者可以忽略)

1.git remote 查看所有遠程倉庫 2.git remote rm origin 刪除之前的版本庫 3.git remote add origin http://****.git 增加新的地址

項目已經切換新的git地址了,然后我現在需要拉代碼

git pull

提示錯誤如下

?

IGG@A12128 MINGW64 /f/browesr/program/*** (**-0.2) $ git pull There is no tracking information for the current branch. Please specify which branch you want to merge with. See git-pull(1) for details.git pull <remote> <branch>If you wish to set tracking information for this branch you can do so with:git branch --set-upstream-to=origin/<branch> browser-0.2

說明提示當前branch沒有跟蹤信息

?

?

?

?

?

?

?

?

2 解決辦法

git branch --set-upstream-to=origin/當前分支名字 當前分支名字git branch --set-upstream-to=origin/****-0.2 ****-0.2 git pull

就可以了

總結

以上是生活随笔為你收集整理的Git之提示There is no tracking information for the current branch.的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。