Git - The most common git commands in the day-to-day work

Posted iloverabbit

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Git - The most common git commands in the day-to-day work相关的知识,希望对你有一定的参考价值。

We use git commands in the day to day work, below are the most common git commands I could think of.

 

 

  1.  Create a new branch
    • git branch <branchName>
  2. Switch to the new branch
    • git checkout <branchName>
  3. Create a new branch and switch to it
    • git checkout -b <branchName>
  4. Track updates from remote branches but not pull in
    •  git fetch

    以上是关于Git - The most common git commands in the day-to-day work的主要内容,如果未能解决你的问题,请参考以下文章

    Git:如何维护永久并行分支

    怎样用git获取指定的Android Linux Kernel

    git 删除 submodule

    Counter.most_common 是不是有意外的数字结果

    git更新失败Probably the path to Git executable is not valid

    python most_common_words