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#

  • 相关阅读:
    通过注册表读取设置字体
    StretchBlt
    PatBlt
    如何用MaskBlt实现两个位图的合并,从而实现背景透明
    输出旋转字体
    用字体开透明窟窿
    输出空心字体
    光滑字体
    画贝塞尔曲线
    一些点运算函数
  • 原文地址:https://www.cnblogs.com/rsapaper/p/13372874.html
Copyright © 2011-2022 走看看