git log another_branch
If we are on
master
and we want to see other branch's commits
git log another_branch
After fetching new commits from remote, we can see the new commits (even if we are on
master
)
git log origin/master --oneline
by Valeri Tandilashvili
4 years ago
Git
1
Pro tip: use ```triple backticks around text``` to write in code fences