Files
tldr/pages.tr/common/git-show.md

37 lines
968 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 show
> Çeşitli Git nesnelerini (commit'ler, etiketler vs.) görüntüle.
> Daha fazla bilgi: <https://git-scm.com/docs/git-show>.
- Son commit'e dair bilgi (değer, mesaj, değişimler ve öbür metaveriler) göster:
`git show`
- Belirtilen commit'e dair bilgi göster:
`git show {{commit}}`
- Belirtilen etiket ile özleşen commit'e dair bilgi göster:
`git show {{tag}}`
- Dalın HEAD'indeki 3. commit'e dair bilgi göster:
`git show {{dal}}~{{3}}`
- Commit'in mesajını diff çıktısını önleyerek tek satırda göster:
`git show --oneline -s {{commit}}`
- Yalnızca değiştirilen dosyalarla ilgili istatistik (eklenen/silinen karakterler) göster:
`git show --stat {{commit}}`
- Yalnızca eklenen, yeniden adlandırılan veya silinen dosyaların listesini göster:
`git show --summary {{commit}}`
- Bir dosyanın belirtilen sürümdeki (örneğin dal, etiket veya commit) içeriğini göster:
`git show {{sürüm}}:{{dosya/konumu}}`