-1

Will git log show all commits from all remote branches (if I have just fetched)?

Ben Aston
  • 53,718
  • 65
  • 205
  • 331

1 Answers1

3

git log shows the commits that lead up to the current HEAD only.

jeremy
  • 4,294
  • 3
  • 22
  • 36
  • I would like to perform the equivalent of `git log --author "foo"` on all commits the repository contains. How can I do this? – Ben Aston Feb 05 '14 at 17:22
  • Looks like you can use the --all command switch. See http://stackoverflow.com/questions/10349302/how-to-git-log-from-all-branches-for-the-author-at-once – jeremy Feb 05 '14 at 17:23