I use the command git ls-tree -r $(git branch | awk '{ print $2 }') --name-only
to show the files on my branch, but i tried to put this command on my .gitconfig
file as an alias and i got this error:
$ git list fatal: Not a valid object name $(git
My .gitconfig file:
[alias] list = ls-tree -r $(git branch | awk '{ print $2 }') --name-only
Thanks P.D. Sorry for my english