Relative Content

Tag Archive for gitpathgit-show

using “git show” with an absolute path

When I run git show HEAD^:file.txt git displays the content of this file at revision HEAD^.
But when I run this command with the absolute path, i.e.: git show HEAD^:/home/me/repo/file.txt it fails (exit code 128) with the message