摘要: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最后,光磨刀不砍柴也
阅读全文
摘要: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
阅读全文
摘要:关联起来后,可以直接切换到本地分支并执行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
阅读全文
摘要:http://progit.org/book/
阅读全文