12/31/2016 - 9:44 AM



git show/checkout

## The command takes the usual style of revision, meaning you can use any of the following:
# branch name (as suggested by ash)
git show/checkout somebranch:from/the/root/to/file
git show/checkout branchA~10:fileA branchB^^:fileB

# HEAD + x number of ^ characters
git show/checkout HEAD^^^:test/

# The SHA1 hash of a given revision
git show/checkout $REV:$FILE

# The first few (maybe 5) characters of a given SHA1 hash