git add filenamegit add -A 这个是把所有的修改或添加文件加到repository(库中)git commit -m 'message' git checkout -b feature 创建并切换分支添加远程库: 要关联一个远程库,使用命令git remote add ...
分类:
其他好文 时间:
2015-04-13 12:34:22
阅读次数:
129
1.下载?? git clone --depth=14 https://github.com/angular/angular-phonecat.git 2.? git?checkout?-f?step-0 3.npm install? 安装package.json中的插件(包括grunt之类) 4.bower install(npm install -...
分类:
Web程序 时间:
2015-04-12 22:53:39
阅读次数:
247
新建分支 git checkout –b xd 这样就会创建一个名为xd的分支,并自动跳转到该分支(相当于git branch xd回车git checkout dev) 进入分支目录(通过命令行进入分支目录或者先进入分支所在目录然后右键git bash) 判断是否进入分支的标志是能看见目录后面带有...
分类:
其他好文 时间:
2015-04-11 16:19:01
阅读次数:
93
1. 设置git的本地配置信息git config --global user.name ""git config --global user.email ""git config --global alias.co checkout #设置命令别名git config --global ali.....
分类:
其他好文 时间:
2015-04-10 20:01:26
阅读次数:
131
# Pull the repo from mastergit pull# Create branch for myself in localgit branch john/jenkins_code# switch to myself branch of localgit checkout john/...
分类:
其他好文 时间:
2015-04-10 17:24:04
阅读次数:
110
SpringsecurityisbasedonURLpattern,eachURLpatternhasanassociatedchainofinterceptorsthathandlesvariousaspectofsecurityEg.<security:httppattern="/_ui/**"security="none"/>nosecuritycontrol<security:httpdisable-url-rewriting="true"pattern="/checkout/**"..
分类:
编程语言 时间:
2015-04-08 19:58:06
阅读次数:
288
当使用git进行操作:git checkout -b local-name origin/remote-name出现错误:fatal: git checkout: updating paths is incompatible with switching branches.Did you inten...
分类:
其他好文 时间:
2015-04-07 15:18:33
阅读次数:
147
git rm --cached file 取消新的寄存git checkout -- file 取消修改git reset file 取消非新增的修改git diff,git diff --cached 查看差异git reset --hard commit_sha1 回退版本git reflog ...
分类:
其他好文 时间:
2015-04-05 23:28:09
阅读次数:
235
你建了自己的分支,如zhc
git branch -b zhc
然后你做了很多次的commit。
你想把这写很多个commit作为一个commit到mainline branch上,该怎么做呢?
首先更新mainline到最新
git checkout mainline
git pull --rebase
然后将zhc分支的多个commit变成一次commit
git me...
分类:
其他好文 时间:
2015-04-04 10:41:49
阅读次数:
119
版本描述: 操作系统:win8.1 svn版本:TortoiseSVN-1.7.12.24070-x64-svn-1.7.9 安装 windows软件基本都是傻瓜式安装 next->finish svn也不例外。 安装完就该checkout下服务器中的文件是吧,那么问题来咯,小弟我...
分类:
其他好文 时间:
2015-04-03 19:44:41
阅读次数:
360