Files
tldr/pages.tr/common/git-commit.md
2024-10-13 10:26:47 +02:00

21 lines
543 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
> Depoya dosya commit'le.
> Daha fazla bilgi için: <https://git-scm.com/docs/git-commit>.
- Sahnelenmiş dosyaları belirtilen mesaj ile commit'le:
`git commit -m {{mesaj}}`
- Değişiklikleri otomatik olarak sahnele ve mesaj ile commit'le:
`git commit -a -m {{mesaj}}`
- Değerini değiştirecek şekilde son commit'i yeni sahnelenmiş değişiklikleri ekleyerek güncelle:
`git commit --amend`
- Yalnızca belirtilmiş (halihazırda sahnelenmiş) dosyaları commit'le:
`git commit {{örnek/dosya1 örnek/dosya2 ...}}`