Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
「git log」コマンドを使用して、git リポジトリからすべての履歴を表示できるようです。 Git:メモなしですべてのブランチからすべてのコミットを取得する方法は?
jgitを使用して同じ結果を得るにはどうすればよいですか?
たとえば、次のようにします。
... Git git = new Git(repository); Iterable<RevCommit> commits = git.log().all().call(); for (RevCommit commit : commits) { ... }