Skip to main content
Version: 11.x

pnpm cat-file

根据索引文件中存储的哈希值打印文件的内容。例如:

🌐 Prints the contents of a file based on the hash value stored in the index file. For example:

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