例如:
$ git status
On branch master
You have unmerged paths.
(fix conflicts and run "git commit")
(use "git merge --abort" to abort the merge)
Unmerged paths:
(use "git add <file>..." to mark resolution)
both modified: test.txt
$ git ls-files
test.txt
test.txt
test.txt
有没有办法让它也只列出一次这种类型的文件?我只需要文件名。