tldr/pages.tr/common/git-stage.md

34 lines
631 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# git stage
> Değiştirilmiş dosyaları indekse ekle.
> Bu komut `git add`'in eş anlamlısıdır.
> Daha fazla bilgi: <https://git-scm.com/docs/git-stage>.
- İndekse bir dosya ekle:
`git stage {{örnek/dosya}}`
- Tüm (izlenen veya izlenmeyen) dosyaları ekle:
`git stage -A`
- Yalnızca izlenen dosyaları ekle:
`git stage -u`
- Yoksayılan dosyaları dahi ekle:
`git stage -f`
- Dosyaların parçalarını etkileşimli olarak sahnele:
`git stage -p`
- Belirtilen dosyaların parçalarını etkileşimli olarak sahnele:
`git stage -p {{örnek/dosya}}`
- Bir dosyayı etkileşimli olarak sahnele:
`git stage -i`