Files
tldr/pages.tr/common/git-commit-tree.md

22 lines
683 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 commit-tree
> Commit cisimleri oluşturmaya yarayan düşük seviyeli araç.
> Ayrıca `git commit` sayfasına bakılması önerilir.
> Daha fazla bilgi: <https://git-scm.com/docs/git-commit-tree>.
- Belirtilen mesaj ile bir commit cismi oluştur:
`git commit-tree {{ağaç}} -m "{{mesaj}}"`
- Bir dosyadan mesaj okuyan bir commit cismi oluştur (stdin için `-` ekini kullan):
`git commit-tree {{ağaç}} -F {{örnek/dosya}}`
- GPG anahtarıyla imzalanmış bir commit cismi oluştur:
`git commit-tree {{ağaç}} -m "{{mesaj}}" --gpg-sign`
- Belirtilen ana commit cismi ile bir commit cismi oluştur:
`git commit-tree {{ağaç}} -m "{{mesaj}}" -p {{ana_commit_sha}}`