| Git version in EGit ? [message #771850] |
Wed, 28 December 2011 05:47  |
Harry Houdini Messages: 131 Registered: February 2010 |
Senior Member |
|
|
Hello,
It seems that the EGit team has reimplemented Git in Java.
On what Git version EGit is based on ?
I'd like to be able to also use Git in command line, and so work with the same version.
Thanks.
[Updated on: Wed, 28 December 2011 08:07] Report message to a moderator
|
|
|
|
| Re: Git version in EGit ? [message #771919 is a reply to message #771899] |
Wed, 28 December 2011 09:27   |
R Shapiro Messages: 308 Registered: June 2011 |
Senior Member |
|
|
The implicit question seems to be: is it safe to work in a Git repository both with egit/jgit and also with command-line Git. If that's the question the answer is, yes, it's completely safe, or at least has been for me. I use both every day. You can also safely use third-party gui tools GitX, Tower, TortoiseGit and the like, as well as plugins for other IDEs (IDEA, XCode). They all play well together.
Some operations and can only be done in command-line Git and some configuration options are only respected there. Widely used examples include stash, bundle, bisect, lightweight tagging, some merge strategies and config options, and svn bridging. In that sense there's a fair chance you'll have to use command-line Git at some point. You might find it convenient to do some of these with Eclipse external launchers that reference variables defined by egit. This provides some integration. You can handle the most common uses of stash and svn bridging this way, for example. Not exactly elegant, but acceptable as a workaround. As I understand it, egit looks for command-line Git on the PATH and makes some use of it if it's found. I don't know the details though. Might be nice if it defined a variable when found, this would be very useful for external launchers.
These operations aside, go ahead and use whichever tool you prefer.
|
|
|
|
|
|
|
|
|
|
|
|
| Re: Git version in EGit ? [message #783225 is a reply to message #782501] |
Wed, 25 January 2012 05:10  |
Matthias Sohn Messages: 395 Registered: July 2009 |
Senior Member |
|
|
R Shapiro wrote on Mon, 23 January 2012 15:44Quote:Are you looking for this page ?
http://wiki.eclipse.org/EGit/FAQ#Where_can_I_find_older_releases_of_EGit.3F
Not at all. The point is not to get an earlier version, it's that users need some way to know whether any given JGit version is or is not compatible with any given Git version.
Git is the reference implementation. All other implementations are in my opinion obliged to provide to basic compatibility info. The bare minimum might be something like "JGit version X is not compatible with Git versions older than Y".
"Oodini Mising name" asked for a site listing old versions that's why I sent this link ...
|
|
|
Powered by
FUDForum. Page generated in 0.02102 seconds