self-confidence,the source of all the power

导航

随笔分类 -  Git

git document
摘要:git是啥就不多介绍了。自行google1. 在线学习网站http://pcottle.github.com/learnGitBranching/非常棒的网站,非常的cool。2. github官方出的学习教程ProGit.pdf 有简体正文版http://ishare.iask.sina.com.cn/f/16096245.html3. git奇技淫巧技巧网站http://gitready.com/回复里有很多神级技巧,譬如这一篇http://gitready.com/beginner/2009/01/16/cleaning-up-untracked-files.html最后,光磨刀不砍柴也 阅读全文

posted @ 2013-03-24 20:22 漩涡鸣人 阅读(475) 评论(0) 推荐(0)

git command
摘要:1.configgit config --global user.name xxxgit config --global user.email xxx@xx.com2.查看git config --list3.generate public-keyssh-keygen -t rsa将.ssh/id_rsa.pub 里的内容copy到server 设置里SSH Public Keys设定4.clonegit clone ssh://account@gitserver:29418/projectName5.查看远端分支git branch -r6.新建分支git checkout -b newbr 阅读全文

posted @ 2013-02-01 15:27 漩涡鸣人 阅读(212) 评论(0) 推荐(0)

merge tool
摘要:beyond compare 2 阅读全文

posted @ 2013-01-30 16:20 漩涡鸣人 阅读(166) 评论(0) 推荐(0)

git:将本地分支与远端分支关联起来
摘要:关联起来后,可以直接切换到本地分支并执行pull命令1.commandgit config --add branch.localBranch.remote origingit config --add branch.localBranch.merge refs/heads/remoteBranch2.直接修改git 配置文件.git/config[branch "master"] remote = origin merge = refs/heads/master 阅读全文

posted @ 2013-01-08 11:23 漩涡鸣人 阅读(727) 评论(0) 推荐(0)

git tutorial
摘要:http://progit.org/book/ 阅读全文

posted @ 2011-08-22 19:36 漩涡鸣人 阅读(203) 评论(0) 推荐(0)