JGit Show remote changes like git diff --name-status master origin/master
问题 I'm trying a bit with JGIT. It's work very well, but I haven't found out how to show changes on a remote git before makeing a pull. In the terminal I solved my problem with the following steps: git fetch git diff --name-status master origin/master How can I get the remote changes with JGit? Has anyone a idea? I think the thread How do I do the equivalent of "git diff --name-status" with jgit? can help, but I don't know how to get the remote HEAD. 回答1: I found out how to get the remote HEAD