I am aware the comment is five yrs old, but in case an individual stumbles on to this in the future, to utilize with command output, do git merge-base master some-branch As stated in the area about -exec before, there are many commands wherever this splitting might consequence in different https://cat78766.buyoutblog.com/37449655/the-2-minute-rule-for-cat