git 的 cat-file 的命令用法


命令選項

git cat-file 的命令顯示版本庫對象的內容、類型、及大小信息。

 

-t 

Instead of the content, show the object type identified by object. 

顯示對象的類型。

 

-s

Instead of the content, show the object size identified by object. 

顯示對象的大小。

 

-e

Suppress all output; instead exit with zero status if object exists and is a valid object. 

如果對象存在且有效,命令結束狀態返回值為0。

 

-p

Pretty-print the contents of object based on its type. 

根據對象的類型,以優雅的方式顯示對象的內容

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM