You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 4.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. Java Git
  2. ========
  3. An implementation of the Git version control system in pure Java.
  4. This package is licensed under the EDL (Eclipse Distribution
  5. License).
  6. JGit can be imported straight into Eclipse, built and tested from
  7. there, but the automated builds use Maven.
  8. - org.eclipse.jgit
  9. A pure Java library capable of being run standalone, with no
  10. additional support libraries. It provides classes to read and
  11. write a Git repository and operate on a working directory.
  12. All portions of JGit are covered by the EDL. Absolutely no GPL,
  13. LGPL or EPL contributions are accepted within this package.
  14. - org.eclipse.jgit.ant
  15. Ant tasks based on JGit.
  16. - org.eclipse.jgit.archive
  17. Support for exporting to various archive formats (zip etc).
  18. - org.eclipse.jgit.http.apache
  19. Apache httpclient support
  20. - org.eclipse.jgit.http.server
  21. Server for the smart and dumb Git HTTP protocol.
  22. - org.eclipse.jgit.pgm
  23. Command-line interface Git commands implemented using JGit
  24. ("pgm" stands for program).
  25. - org.eclipse.jgit.packaging
  26. Production of Eclipse features and p2 repository for JGit. See the JGit
  27. Wiki on why and how to use this module.
  28. Tests
  29. -----
  30. - org.eclipse.jgit.junit
  31. Helpers for unit testing
  32. - org.eclipse.jgit.test
  33. Unit tests for org.eclipse.jgit
  34. - org.eclipse.jgit.ant.test
  35. - org.eclipse.jgit.pgm.test
  36. - org.eclipse.jgit.http.test
  37. - org.eclipse.jgit.junit.test
  38. No further description needed
  39. Warnings/Caveats
  40. ----------------
  41. - Native smbolic links are supported, provided the file system supports
  42. them. For Windows you must have Windows Vista/Windows 2008 or newer,
  43. use a non-administrator account and have the SeCreateSymbolicLinkPrivilege.
  44. - Only the timestamp of the index is used by jgit if the index is
  45. dirty.
  46. - JGit requires at least a Java 7 JDK.
  47. - CRLF conversion is performed depending on the core.autocrlf setting,
  48. however Git for Windows by default stores that setting during
  49. installation in the "system wide" configuration file. If Git is not
  50. installed, use the global or repository configuration for the
  51. core.autocrlf setting.
  52. - The system wide configuration file is located relative to where C
  53. Git is installed. Make sure Git can be found via the PATH
  54. environment variable. When installing Git for Windows check the "Run
  55. Git from the Windows Command Prompt" option. There are other options
  56. like Eclipse settings that can be used for pointing out where C Git
  57. is installed. Modifying PATH is the recommended option if C Git is
  58. installed.
  59. - We try to use the same notation of $HOME as C Git does. On Windows
  60. this is often not the same value as the user.home system property.
  61. Package Features
  62. ----------------
  63. - org.eclipse.jgit/
  64. * Read loose and packed commits, trees, blobs, including
  65. deltafied objects.
  66. * Read objects from shared repositories
  67. * Write loose commits, trees, blobs.
  68. * Write blobs from local files or Java InputStreams.
  69. * Read blobs as Java InputStreams.
  70. * Copy trees to local directory, or local directory to a tree.
  71. * Lazily loads objects as necessary.
  72. * Read and write .git/config files.
  73. * Create a new repository.
  74. * Read and write refs, including walking through symrefs.
  75. * Read, update and write the Git index.
  76. * Checkout in dirty working directory if trivial.
  77. * Walk the history from a given set of commits looking for commits
  78. introducing changes in files under a specified path.
  79. * Object transport
  80. Fetch via ssh, git, http, Amazon S3 and bundles.
  81. Push via ssh, git and Amazon S3. JGit does not yet deltify
  82. the pushed packs so they may be a lot larger than C Git packs.
  83. * Garbage collection
  84. * Merge
  85. * Rebase
  86. * And much more
  87. - org.eclipse.jgit.pgm/
  88. * Assorted set of command line utilities. Mostly for ad-hoc testing of jgit
  89. log, glog, fetch etc.
  90. - org.eclipse.jgit.ant/
  91. * Ant tasks
  92. - org.eclipse.jgit.archive/
  93. * Support for Zip/Tar and other formats
  94. - org.eclipse.http.*/
  95. * HTTP client and server support
  96. Missing Features
  97. ----------------
  98. There are some missing features:
  99. - gitattributes support
  100. Support
  101. -------
  102. Post question, comments or patches to the jgit-dev@eclipse.org mailing list.
  103. You need to be subscribed to post, see here:
  104. https://dev.eclipse.org/mailman/listinfo/jgit-dev
  105. Contributing
  106. ------------
  107. See the EGit Contributor Guide:
  108. http://wiki.eclipse.org/EGit/Contributor_Guide
  109. About Git
  110. ---------
  111. More information about Git, its repository format, and the canonical
  112. C based implementation can be obtained from the Git website:
  113. http://git-scm.com/