![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Git
xuzhaojia
致力于cocos creator,cocos2D及x的游戏开发
展开
-
远程分支和本地分支的相互创建和跟踪
原文地址:http://hi.baidu.com/lingzhixu/blog/item/4a9b830bb08a329fe850cd5b.html本地分支的创建本地分支的来源为执行git checkout -b 的那个分支例如现在有两个分支,master和b1master 分支下有一个commit:commit1: add test1.c转载 2013-11-14 07:34:05 · 19252 阅读 · 0 评论 -
需要使用Git branch switch 的情况&Git stash的使用时机
以下来自官方Manual:Interrupted workflowWhen you are in the middle of something, your boss comes in and demands that you fix something immediately. Traditionally, you would make a commit to a tempora转载 2013-11-14 05:36:49 · 1442 阅读 · 0 评论 -
Git HEAD & head
A head is simply a reference to a commit object. Each head has a name (branch name or tag name, etc). By default, there is a head in every repository called master. A repository can contain any number转载 2013-11-14 06:12:32 · 1101 阅读 · 0 评论 -
Git branch 用法
以下来自官方Manual:Managing branches$ git branch # list all local branches in this repo$ git checkout test # switch working directory to branch "test"$ git branch new #转载 2013-11-14 05:43:15 · 1400 阅读 · 0 评论