美文网首页
Git pull时链接远程仓库

Git pull时链接远程仓库

作者: 114105lijia | 来源:发表于2019-10-22 11:17 被阅读0次

有一次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> developer

按照提示,执行终端命令即可:

git branch --set-upstream-to=origin/developer developer    //我这是链接分支

相关文章

  • Git pull时链接远程仓库

    有一次pull时碰到下面错误: 按照提示,执行终端命令即可:

  • 访问远程git仓错误

    在使用git pull/push 访问远程仓库时提示:Unable to negotiate with 128.1...

  • Git的多人合作

    添加合作者 git pull 命令git pull 是更新远程库的内容的命令 git fetch命令只把远程仓库的...

  • git pull覆盖文件问题 2020-03-04

    git pull覆盖文件问题 git pull究竟干了什么 git pull 是将【远程仓库版本库中某个分支的更新...

  • git常用指令

    下载远程仓库代码 git clone 代码仓库地址 从远程仓库拉取代码 git pull 提交代码到本地分支,并推...

  • git仓库迁移和更新远程仓库地址

    git仓库迁移和更新远程仓库地址 一、git仓库迁移 1,从原仓库clone或pull到本地仓库 git clon...

  • 技巧:Git提交不上去

    git pull origin master --allow-unrelated-histories 解决远程仓库...

  • ! [rejected] master -> ma

    本地创建项目之后,推送到远程已有仓库,需要先git pull 拉下远程仓库,使用以下命令解决问题 1、git pu...

  • git pull pr

    git fetch dev pull/8392/head:pr8392 从远程的dev仓库拉取pull/8392/...

  • Android Studio项目上传至Git

    一、Git上传流程 Push:提交代码至仓库中(远程/本地)Commit:提交代码至本地仓库;Pull:远程仓库代...

网友评论

      本文标题:Git pull时链接远程仓库

      本文链接:https://www.haomeiwen.com/subject/ujfqvctx.html