Files
tldr/pages.tr/common/git-checkout-index.md

21 lines
650 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 checkout-index
> Dosyaları indeksten çalışma ağacına kopyala.
> Daha fazla bilgi: <https://git-scm.com/docs/git-checkout-index>.
- Son commit'den beri silinen dosyaları geri döndür:
`git checkout-index --all`
- Son commit'den beri silinen veya değiştirilen dosyaları geri döndür:
`git checkout-index --all --force`
- Son commit'den beri değiştirilen dosyaları geri döndür ancak silinenleri yoksay:
`git checkout-index --all --force --no-create`
- Tüm ağacın bir kopyasını belirtilen dizinde dışa aktar (sondaki eğik çizgi önemli):
`git checkout-index --all --force --prefix={{dışa/aktarılacak/dizin/}}`