zoukankan      html  css  js  c++  java
  • git branch --set-upstream-to=

    test@uat:/usr/server/app_server# git config --local -l
    core.repositoryformatversion=0
    core.filemode=true
    core.bare=false
    core.logallrefupdates=true
    remote.origin.url=git@code.aliyun.com:app/app_server.git
    remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
    test@uat:/usr/server/app_server#

    test@uat:/usr/server/app_server# git pull
    remote: Counting objects: 6, done.
    remote: Total 6 (delta 0), reused 0 (delta 0)
    Unpacking objects: 100% (6/6), done.
    From code.aliyun.com:app/app_server
    * [new branch] dev -> origin/dev
    0a1307e4..1ce7ef06 hotfix_master -> origin/hotfix_master
    23eda15c..1ce7ef06 master -> origin/master
    * [new branch] sit -> origin/sit
    0a1307e4..1ce7ef06 test -> origin/test
    faf871a8..1ce7ef06 uat -> origin/uat
    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> uat

    test@uat:/usr/server/app_server# git pull origin uat


    From code.aliyun.com:app/app_server
    * branch uat -> FETCH_HEAD
    Updating faf871a8..1ce7ef06
    Fast-forward
    src/app/settings_conf/sit.py | 6 +++---
    1 file changed, 3 insertions(+), 3 deletions(-)


    test@uat:/usr/server/app_server# 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> uat

    test@uat:/usr/server/app_server# git branch --set-upstream-to=origin/uat uat
    Branch 'uat' set up to track remote branch 'uat' from 'origin'.


    test@uat:/usr/server/app_server# git config --local -l
    core.repositoryformatversion=0
    core.filemode=true
    core.bare=false
    core.logallrefupdates=true
    remote.origin.url=git@code.aliyun.com:app/app_server.git
    remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
    branch.uat.remote=origin
    branch.uat.merge=refs/heads/uat
    test@uat:/usr/server/app_server#

  • 相关阅读:
    设计模式了解
    三次握手
    网络安全常见术语
    threading.Thread 子线程强制停止
    黑帽SEO入门
    Chrome(谷歌)浏览器永久关闭恢复页面提示框(记录)
    FTP文件夹错误:【打开FTP服务器上的文件夹时发生错误。请检查是否有权限访问该文件夹】
    jenkins启动失败,查看状态提示active(exited)
    jenkins打包vue项目报错-未解决
    jenkins迁移报错处理
  • 原文地址:https://www.cnblogs.com/rsapaper/p/13372874.html
Copyright © 2011-2022 走看看