随笔分类 -  Git

摘要:http://stackoverflow.com/questions/5689960/how-do-i-create-a-commit-without-a-parent-in-git 这个问题和第二个链接是重复的问题http://stackoverflow.com/questions/645450/... 阅读全文
posted @ 2015-08-06 13:19 ChuckLu 阅读(530) 评论(0) 推荐(0) 编辑
摘要:http://think-like-a-git.net/sections/rebase-from-the-ground-up/cherry-picking-explained.html Git's own online help has a great, if characteristically 阅读全文
posted @ 2015-08-06 09:38 ChuckLu 阅读(10165) 评论(0) 推荐(0) 编辑
摘要:git推送本地分支到远端 当前处于master分支,尝试用了git push origin warning: push.default is unset; its implicit value is changing in Git 2.0 from 'matching' to 'simple'. T 阅读全文
posted @ 2015-07-20 13:28 ChuckLu 阅读(3951) 评论(0) 推荐(0) 编辑
摘要:Reseting remote to a certain commitAssuming that your branch is calledmasterboth here and remotely, and that your remote is calledoriginyou could do: ... 阅读全文
posted @ 2015-07-20 13:17 ChuckLu 阅读(7758) 评论(0) 推荐(0) 编辑
摘要:subtree出现,是为了取代submodule http://wenku.baidu.com/link?url=ola85Z5tIXJpxCjLTk-dcO81ayXLs68_y6dsmXIa0niF8vWlnAtnEEiZTGlzCNk1G_g36UYNHUBpu9oszONFNB54LNzo3 阅读全文
posted @ 2015-07-15 10:35 ChuckLu 阅读(1748) 评论(0) 推荐(0) 编辑
摘要:如果用命令行,运行 git fetch,可以将远程分支信息获取到本地,再运行 git checkout -b local-branchname origin/remote_branchname 就可以将远程分支映射到本地命名为local-branchname 的一分支。 阅读全文
posted @ 2015-06-15 16:34 ChuckLu 阅读(1353) 评论(0) 推荐(0) 编辑
摘要:Auto packing the repository for optimum performance. You may alsorun "git gc" manually. See "git help gc" for more information.Counting objects: 9231,... 阅读全文
posted @ 2015-01-10 15:48 ChuckLu 阅读(5271) 评论(0) 推荐(0) 编辑
摘要:http://blog.jobbole.com/20069/ git的权限控制,可以借助第三方的工具来实现 也快成使用git的子模块http://www.cnblogs.com/aga-j/archive/2011/06/10/2078019.html why git is bett... 阅读全文
posted @ 2014-12-18 21:56 ChuckLu 阅读(342) 评论(0) 推荐(0) 编辑
摘要:github上上传了版本库https://github.com/ChuckGitMerge 包括merge和rebase 没时间画图,貌似也不太会用画图工具,先写了一个文字版本的 更新:2015年08月11日,使用了git for windows自带的git gui作为图片说明 动画效果 https 阅读全文
posted @ 2014-12-04 19:44 ChuckLu 阅读(5423) 评论(5) 推荐(1) 编辑
摘要:http://blog.csdn.net/jv9/article/details/12245979 阅读全文
posted @ 2014-11-29 11:46 ChuckLu 阅读(157) 评论(0) 推荐(0) 编辑
摘要:In git, what is the difference between merge --squash and rebase?上面链接的回答中的总结:Bothgit merge --squashandgit rebase --interactivecan produce a "squashed"... 阅读全文
posted @ 2014-11-07 12:45 ChuckLu 阅读(3836) 评论(0) 推荐(1) 编辑
摘要:http://www.worldhello.net/gotgithub/ 阅读全文
posted @ 2014-11-03 17:00 ChuckLu 阅读(208) 评论(0) 推荐(0) 编辑
摘要:1.github上支持三种方式进行项目的clone https,ssh,subversion https://github.com/用户名/版本库.git ssh的方式 git@github.com:用户名/版本库t.git 此篇文章针对于这种 https://github.com/用户名/版本库 阅读全文
posted @ 2014-10-28 12:14 ChuckLu 阅读(44386) 评论(0) 推荐(4) 编辑
摘要:1.从自己fork之后的版本库clone $ git clone -o chucklu https://github.com/chucklu/Hearthstone-Deck-Tracker.git 参数说明: -o <name> Instead of using the remote name o 阅读全文
posted @ 2014-10-28 11:22 ChuckLu 阅读(30937) 评论(0) 推荐(6) 编辑
摘要:1.Git for Winodws 1.*的版本 https://github.com/msysgit/msysgit/releases 2.*的版本 https://github.com/git-for-windows/git/releases 如果使用git svn的功能,务必使用1.*的版本 阅读全文
posted @ 2014-07-18 10:23 ChuckLu 阅读(512) 评论(0) 推荐(0) 编辑
摘要:http://chucklu.github.io/Blog/2014/12/24/git-svn.html 如何使用git和TortoiseGit来操作svn的版本库 1.首先clone svn的版本库,使用此命令git svn clone https:// ,如果是比较大的版本库的话,会耗时比较久 阅读全文
posted @ 2014-06-24 14:13 ChuckLu 阅读(891) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示