Команда git-cat-file: опции, ключи и примеры использования
git cat-file
Provide content or type and size information for Git repository objects. More information: https://git-scm.com/docs/git-cat-file.
- Get the [s]ize of the HEAD commit in bytes:
git cat-file -s HEAD
- Get the [t]ype (blob, tree, commit, tag) of a given Git object:
git cat-file -t {{8c442dc3}}
- Pretty-[p]rint the contents of a given Git object based on its type:
git cat-file -p {{HEAD~2}}
Также может быть вам интересно:
- 25 января вышло новое крупное обновление Age of Empires II DE: Lords of the West
- И снова sudo, и снова "решето"
- Только одна из десяти компаний ожидает, что все работники вернутся в офисы
- Google Play временно забанил видео-плеер за поддержку неправильных субтитров
- Google прекращает поддержку сторонних приложений в API Chrome-like