Files
tldr/pages.tr/common/git-cat-file.md

17 lines
436 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# git cat-file
> Git depo cisimlerine dair içerik, tür ve boyut bilgisini sağla.
> Daha fazla bilgi: <https://git-scm.com/docs/git-cat-file>.
- HEAD commit'inin byte bazında boyutunu öğren:
`git cat-file -s HEAD`
- Belirtilen Git cisminin türünü (blob, ağaç, commit, etiket) öğren:
`git cat-file -t {{8c442dc3}}`
- Git objesinin içeriğini, türüne uygun olarak hoş şekilde yansıt:
`git cat-file -p {{HEAD~2}}`