
git
fraannk
Network
展开
-
如何在svn系统中使用git
http://www.robinlu.com/blog/archives/194如何在svn系统中使用gitby Robin Lu on Apr.19, 2008, about git, svn如果正在使用svn,打算换到git,又暂时不想放弃已有的svn代码库,可以选择git-svn。说一说我自己从svn到git的经验吧。开始转载 2011-09-01 21:41:20 · 626 阅读 · 0 评论 -
GIT SSH Repository Server
今天试用试用HTTP的方式搭一个git repository server,但是最后无法push,提示error: Cannot access URL http://xxxx/experience.git/, return code 22fatal: git-http-push failed最后只好放弃,改用SSH方式, 先初始化git仓库:$原创 2012-03-12 20:45:42 · 2165 阅读 · 0 评论 -
Git Reverting Files
http://gitready.com/beginner/2009/01/11/reverting-files.htmlreverting filescommitted 11 Jan 2009This is a topic that is a constant source of confusion for many git users, bas转载 2011-09-14 21:47:47 · 1611 阅读 · 0 评论 -
repo sync: fatal: unable to connect to android.git.kernel.org
I checked out android source code before, but there are errors we I run "repo sync" now:[frank@hpc mydroid]$ repo syncfatal: unable to connect to android.git.kernel.org:android.git.kernel.or原创 2012-01-05 16:25:51 · 6002 阅读 · 0 评论 -
failed to install git-svn
[frankwang@apollo-2 ~]$ sudo port install git-core +svnPassword:---> Computing dependencies for git-core---> Dependencies to be installed: p5-svn-simple subversion-perlbindings serf0 subversio原创 2011-08-08 20:19:54 · 1045 阅读 · 0 评论 -
解决git乱码的问题
使用git diff,如果文件名包含中文,则会出现乱码[frankwang@apollo-2 xxxx]$ git diffdiff --git "a/projects_cases/ct_video_service_center/\350\247\206\350\256\257\34index a5bc33b..9528feb 100644Binary files "a/proje原创 2011-09-22 15:43:19 · 2838 阅读 · 0 评论 -
Effectively Using Git With Subversion
http://www.viget.com/extend/effectively-using-git-with-subversion/Effectively Using Git With SubversionClinton R. Nixon, Former Staffer, April 18, 20089Like many organization转载 2011-09-14 21:22:26 · 1093 阅读 · 0 评论 -
撤销git add操作
http://stackoverflow.com/questions/348170/undo-git-add-before-commitI mistakenly added files using the commandgit add fileI have not yet run git commit.Is there a way to undo th原创 2012-03-27 15:22:18 · 7664 阅读 · 0 评论 -
How to import existing GIT repository into another?
http://stackoverflow.com/questions/1683531/how-to-import-existing-git-repository-into-anotherI have a (Windows) GIT repository in a folder called XXX, and I have second GIT repository called Y转载 2012-03-14 11:50:06 · 1952 阅读 · 0 评论 -
How do I make git ignore mode changes (chmod)?
前些天将git repository从mac上挪到windows上,结果所有的文件属性从100644变为了100755,git认为所有的文件都发生了变化。花了一个小时的时间将文件都checkout一遍,最后想到是否可以使git忽略文件属性?查了一下,果然有解:http://stackoverflow.com/questions/1580596/how-do-i-make-git-ign原创 2012-02-28 10:11:11 · 1856 阅读 · 0 评论 -
从SVN到GIT迁移
首先使用git svn clone将原有的svn代码checkout出来# git svn clone http://xxxxx然后使用git gc,注意,如果不使用这一步骤,在后面git clone时会出现错误:[frank@maya2 gittest]$ git clonehttp://xxx/xxx.gitCloning into experience...原创 2011-12-30 18:33:26 · 6067 阅读 · 0 评论 -
Best visual client for Git on Mac OS X?
http://stackoverflow.com/questions/455698/best-visual-client-for-git-on-mac-os-xWhen this question was asked, I think the correct answer was almost certainly gitx. Later in 2009, thebr转载 2012-01-14 17:16:17 · 2095 阅读 · 1 评论 -
使用GIT合并分支: git-merge and git-pull
合并分支[frankwang@apollo-2 test_git]$ git checkout masterSwitched to branch 'master'[frankwang@apollo-2 test_git]$ git merge "merge mybranch" HEAD mybranchUpdating a0586fe..3ae41f7Fast-forwar原创 2011-11-29 16:03:34 · 4974 阅读 · 0 评论 -
git 学习 - 单机操作
下载用git的人越来越多了,看来自己不能只局限在subversion中了。直接看git的帮助文档,看得昏昏欲睡,不知所云,还是到网上找一些文章看看我对git比较迷惑的是git既能单机使用,也能像subversion一样集中管理代码,二者之间如何统一?先熟悉一下git的基本使用方法。# git init 初始化git版本库# git c原创 2011-08-08 16:56:56 · 1712 阅读 · 0 评论 -
git whatchanged 与 git log的区别
参考帮助:NAME git-whatchanged - Show logs with difference each commit introducesSYNOPSIS git whatchanged ...DESCRIPTION Shows commit logs and diff output each commit原创 2011-11-29 15:40:13 · 5681 阅读 · 0 评论 -
GIT和SVN之间的五个基本区别
http://www.aqee.net/5-fundamental-differences-between-git-svn/GIT和SVN之间的五个基本区别本文是从 5 Fundamental differences between GIT & SVN 这篇文章翻译而来。如果你在读这篇文章,说明你跟大多数开发者一样对GIT感兴趣,如果你还没有转载 2011-08-08 18:14:18 · 768 阅读 · 0 评论 -
在commit之前撤销git add操作 (undo git add before commit)
http://stackoverflow.com/questions/348170/undo-git-add-before-commitI mistakenly added files using the commandgit add fileI have not yet run git commit.Is there a way to u转载 2012-03-15 22:51:17 · 110322 阅读 · 3 评论