Use the : prefix to access objects in the current index (staged but not yet commited).
git show :file
See the gitrevisions manual for more information.
Use the : prefix to access objects in the current index (staged but not yet commited).
git show :file
See the gitrevisions manual for more information.