zoukankan      html  css  js  c++  java
  • git

    (1)git fetch remote branch

    http://stackoverflow.com/questions/9537392/git-fetch-remote-branch/

    git fetch <remote> <rbranch>:<lbranch> 
    git checkout <lbranch>
    

    ... where <rbranch> is the remote branch or source ref and <lbranch> is the as yet non-existent local branch or destination ref you want to track and which you probably want to name the same as the remote branch or source ref. This is explained under options in the explanation of <refspec>.

    (2)There is no tracking information for the current branch.
    Please specify which branch you want to rebase against.

    (3)remote branch

    通过git clone获取的远端git库,只包含了远端git库的当前工作分支。如果想获取其它分支信息,需要使用”git branch –r” 来查看, 如果需要将远程的其它分支代码也获取过来,可以使用命令” git checkout -b 本地分支名 远程分支名”,其中,远程分支名为git branch –r所列出的分支名, 一般是诸如“origin/分支名”的样子。如果本地分支名已经存在, 则不需要“-b”参数。

    (4) reset/revert

    http://yijiebuyi.com/blog/8f985d539566d0bf3b804df6be4e0c90.html

    (5)git - push current vs. push upstream (tracking)

    ref

    problem:

    http://stackoverflow.com/questions/13751319/git-push-current-vs-push-upstream-tracking/13751847#13751847

    solution:

    http://blog.csdn.net/exlsunshine/article/details/18988531

  • 相关阅读:
    好还是坏:人工智能二分类问题
    神经网络手写数字识别
    TensorFlow or PyTorch
    什么是深度学习
    五个常见 AI 开发库
    AI——第四次工业革命
    NodeJs获取不到POST参数
    Android权限
    【nodejs学习】3.进程管理及异步编程
    每日一题
  • 原文地址:https://www.cnblogs.com/chuiyuan/p/5407819.html
Copyright © 2011-2022 走看看