跳至主要內容
版本:8.x

pnpm cat-file

Added in: v8.13.1

Prints the contents of a file based on the hash value stored in the index file. 範例:

pnpm cat-file sha512-mvavhfVcEREI7d8dfvfvIkuBLnx7+rrkHHnPi8mpEDUlNpY4CUY+CvJ5mrrLl18iQYo1odFwBV7z/cOypG7xxQ==