jgit how can i get all the commits that occurred between two dates

Or just all the commits that occurred between two dates? In SVN, you could do something like svn diff -r{date}:{date} to do it!

  • Build only git tags in wercker
  • Is it possible to see only the commits in a particular branch in git?
  • rsync .git directory
  • git reset --hard <sha1>. Did that delete everything?
  • Github: Require code-review
  • How to create concourse loop for repetitive resources and jobs?
  • Permission denied (publickey,gssapi-keyex,gssapi-with-mic) on openshift
  • How do I apply rejected hunks after fixing them?
  • git: Trying to re-create same repo but with some different files
  • git cherry-pick: how consider only lines modified by the commit (i.e., not the surrounding context)?
  • Git subtree tags
  • git: merging two branches and commits ahead
  • One Solution collect form web for “jgit how can i get all the commits that occurred between two dates”

    You can take example of this JGit test class RevWalkFilterTest.java:

    Date since = getClock();
    Date until = getClock();
    RevFilter between = CommitTimeRevFilter.between(since, until);
    

    It uses the class org.eclipse.jgit.revwalk.filter.CommitTimeRevFilter.

    Git Baby is a git and github fan, let's start git clone.