首页 > 其他 > 详细

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

时间:2018-05-19 01:12:08      阅读:258      评论:0      收藏:0      [点我收藏+]
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

    原文:https://www.cnblogs.com/iloverabbit/p/8587034.html

    (0)
    (0)
       
    举报
    评论 一句话评论(0
    关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
    © 2014 bubuko.com 版权所有
    打开技术之扣,分享程序人生!