$ git log <source_branch>..<feature_branch> --oneline | tail -1
Created
December 2, 2016 04:11
-
-
Save zulhfreelancer/41eac7d775c3c5c57d07d6b1b7f4c21e to your computer and use it in GitHub Desktop.
How to find the first commit in a Git branch?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You could also use
--reverse
and thenhead -n1
for pathologically long lists.