Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Alias to open git conflicts in textmate

How would I go about creating a bash alias that pipes any conflicting files from a git merge or git rebase into TextMate's mate command?

like image 557
Matt Avatar asked Jan 23 '26 10:01

Matt


1 Answers

You can try

textmate `git status | grep both | awk '{print $4}'`

where textmate is your command to run TextMate.

like image 115
Paweł Łoziński Avatar answered Jan 26 '26 00:01

Paweł Łoziński