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.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  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. - org.eclipse.jgit
  7. A pure Java library capable of being run standalone, with no
  8. additional support libraries. It provides classes to read and
  9. write a Git repository and operate on a working directory.
  10. All portions of jgit are covered by the EDL. Absolutely no GPL,
  11. LGPL or EPL contributions are accepted within this package.
  12. - org.eclipse.jgit.ant
  13. Ant tasks based on JGit.
  14. - org.eclipse.jgit.http.server
  15. Server for the smart and dumb Git HTTP protocol.
  16. - org.eclipse.jgit.pgm
  17. Command-line interface Git commands implemented using JGit
  18. ("pgm" stands for program).
  19. - org.eclipse.jgit.test
  20. Unit tests for org.eclipse.jgit and the same licensing rules.
  21. Warnings/Caveats
  22. ----------------
  23. - Symbolic links are not supported because java does not support it.
  24. Such links could be damaged.
  25. - Only the timestamp of the index is used by jgit check if the index
  26. is dirty.
  27. - Don't try the library with a JDK other than 1.6 (Java 6) unless you
  28. are prepared to investigate problems yourself. JDK 1.5.0_11 and later
  29. Java 5 versions *may* work. Earlier versions do not. JDK 1.4 is *not*
  30. supported. Apple's Java 1.5.0_07 is reported to work acceptably. We
  31. have no information about other vendors. Please report your findings
  32. if you try.
  33. - CRLF conversion is performed depending on the core.autocrlf setting,
  34. however Git for Windows by default stores that setting during
  35. installation in the "system wide" configuration file. If Git is not
  36. installed, use the global or repository configuration for the
  37. core.autocrlf setting.
  38. - The system wide configuration file is located relative to where C
  39. Git is installed. Make sure Git can be found via the PATH
  40. environment variable. When installing Git for Windows check the "Run
  41. Git from the Windows Command Prompt" option. There are other options
  42. like the jgit.gitprefix system propety or Eclipse settings that can
  43. be used for pointing out where C Git is installed. Modifying PATH is
  44. the recommended option if C Git is installed.
  45. - We try to use the same notation of $HOME as C Git does. On Windows
  46. this is often not same value as the user.home system property.
  47. Package Features
  48. ----------------
  49. - org.eclipse.jgit/
  50. * Read loose and packed commits, trees, blobs, including
  51. deltafied objects.
  52. * Read objects from shared repositories
  53. * Write loose commits, trees, blobs.
  54. * Write blobs from local files or Java InputStreams.
  55. * Read blobs as Java InputStreams.
  56. * Copy trees to local directory, or local directory to a tree.
  57. * Lazily loads objects as necessary.
  58. * Read and write .git/config files.
  59. * Create a new repository.
  60. * Read and write refs, including walking through symrefs.
  61. * Read, update and write the Git index.
  62. * Checkout in dirty working directory if trivial.
  63. * Walk the history from a given set of commits looking for commits
  64. introducing changes in files under a specified path.
  65. * Object transport
  66. Fetch via ssh, git, http, Amazon S3 and bundles.
  67. Push via ssh, git and Amazon S3. JGit does not yet deltify
  68. the pushed packs so they may be a lot larger than C Git packs.
  69. - org.eclipse.jgit.pgm/
  70. * Assorted set of command line utilities. Mostly for ad-hoc testing of jgit
  71. log, glog, fetch etc.
  72. Missing Features
  73. ----------------
  74. There are some missing features:
  75. - gitattributes support
  76. Support
  77. -------
  78. Post question, comments or patches to the jgit-dev@eclipse.org mailing list.
  79. You need to be subscribed to post, see here:
  80. https://dev.eclipse.org/mailman/listinfo/jgit-dev
  81. Contributing
  82. ------------
  83. See the EGit Contributor Guide:
  84. http://wiki.eclipse.org/EGit/Contributor_Guide
  85. About Git
  86. ---------
  87. More information about Git, its repository format, and the canonical
  88. C based implementation can be obtained from the Git website:
  89. http://git-scm.com/