1

Is there anyways to execute specific git commands and get the response of execution in JGit? It's difficult and complicated to execute following command for example in JGit

git show <commit>:<file path>

Any documentation or reference is highly appreciated. I did went through documentation but haven't found particulars.

Joakim Danielson
  • 35,353
  • 5
  • 20
  • 45
мalay мeнтa
  • 115
  • 1
  • 11
  • https://stackoverflow.com/questions/1685228/how-to-cat-a-file-in-jgit may help, and https://www.codeaffine.com/2014/10/20/git-internals/ – ElpieKay May 17 '21 at 10:41

0 Answers0