l*******m 发帖数: 1096 | 1 To answer your question, I did a test. Without git global (user) config,
egit is still working but let you create your name and email. I just renamed
~/.gitconfig for this purpose.
A basic idea of git is to take advantage of the linux file system. The
global (user) config is located at ~/.gitconfig; the project config is
located at .git/config. To setup them, you can use git command line, or
eclipse egit GUI, or directly change the config files. For git operations,
you can do by git or egit sinc... 阅读全帖 |
|
c********l 发帖数: 8138 | 2 Thanks
这个方案的关键是:只要项目的file system里面有有效的.git的目录
那么egit就会被激活
最后一句:如果git global config之前没有设置,那么egit会不会就不能成功激活了?
另外,eGit需要不需要depend系统里面的git客户端?比如从git-scm上下载的源程序? |
|
|
z****e 发帖数: 54598 | 4 这贴主要问题是不同情况都混在一起说,容易鸡同鸭讲
主要上火的几个id都是用java的,至少是主流用java的
所以经验都跟其他id非常不一样,至少对于java程序员来说
ide日常工作中占了很大比重,比如代码搜索这种
都是通过ide来完成,而其他语言,很多都是用vim来写代码
搜索是一个大问题,所以git下载快是一个优势
先下载,再grep去找到code,用vi打开阅读,用/去找
ide比如eclipse里面就是control+command+r
其次就是前面说的,下载代码所需要的时间,git明显快
但是呢,git命令很糟糕,又但是,这对于大多数java程序员来说
这不是问题,因为他们一般用的是ide上的可视化plugin
比如古德霸说的egit,所以很多人不在乎命令是哪个
他只需要懂右键点击,选择check in就行了
所以他们可以选择git,但是并不代表其他语言都有ide这种神器
如果你没有比较powerful的ide的时候,对于命令的感觉就相对重要了
这个时候用svn可能会更容易点,我用svn时候就是我写python的时候
最后一点就是,分布式系统,source control的... 阅读全帖 |
|
|
|
c******n 发帖数: 4965 | 7 anybody got this working?
mine doesn't show the plus symbols in front of files, and doesn't add
anything in the team menu |
|
b**r 发帖数: 352 | 8 If you already have a git repository, you can import the project using "
projects from git". For an existing project without a git repository, right
click project, select "team->share" |
|
c********l 发帖数: 8138 | 9 官网上下载的Eclipse J2EE最新版本,竟然不自带Maven
如果自己装Maven/ m2e-egit connector,经常又报错
总之,搞到现在,要么是只能建立一个支持maven的project,要么是只能建立一个与
github的project
Eclipse比起不那么知名的IntelljIDEA差远了! |
|
l*******m 发帖数: 1096 | 10 对的。
对于已经有的github projects。git clone后,在eclipse import maven project, 就
好了。因为.git 目录在projet 的目录下,egit自动就能用了。当然 git global
config 要自己设置一次如果没有设置过 |
|
|
g*****g 发帖数: 34805 | 12 我不是说得很明白,我不用eclipse来做build, 但我用eclipse来做开发和调试。事实
上local build 也是用的gradle plugin. 其他的如egit plugin用来做git client.
Run jetty run来作为built-in server. eclipse作为一个IDE,如果你想的话甚至不需
要打开第二个应用。包括DB client和browser都有内置的。 |
|
|
|
z*******3 发帖数: 13709 | 15 egit
plugin随便下一个就有了
去eclipse market place上找 |
|
g*****g 发帖数: 34805 | 16 git就是个协议,用 GUI很好。我用 Eclipse egit plugin. |
|