Reputation: 500
Got couple questions regarding git:
1) Is there a way to find out from which branch did commit (which was merged from dev into master) originate?
2) Also is it possible to find above information out after branch (where commit actually originated from) was deleted at remote and local?
Upvotes: 1
Views: 75
Reputation: 53713
you can use --merges
option
--merges Print only merge commits. This is exactly the same as --min-parents=2.
and with a particular commit Id do git log --merges <commit_id>
Not sure I get the 2nd point of the question though
Upvotes: 1