Cycling through unmerged git files
To open the first unmerged file in emacsclient
1emacsclient -n $(git diff --name-only --diff-filter=U | head -n 1)
or in nushell
1git diff --name-only --diff-filter=U | lines | first | each { |it| emacsclient -n $it }
Comments