git, git-*: add and improve Indonesian translation (Part 3) (#11996)
This commit is contained in:

committed by
GitHub

parent
f54e16e0de
commit
011fccf6d8
20
pages.id/common/git-checkout-index.md
Normal file
20
pages.id/common/git-checkout-index.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# git checkout-index
|
||||
|
||||
> Salin file dari indeks menuju direktori kerja saat ini.
|
||||
> Informasi lebih lanjut: <https://git-scm.com/docs/git-checkout-index>.
|
||||
|
||||
- Pulihkan berkas-berkas yang terhapus sejak komit terakhir:
|
||||
|
||||
`git checkout-index --all`
|
||||
|
||||
- Pulihkan berkas-berkas yang terhapus atau termodifikasi sejak komit terakhir:
|
||||
|
||||
`git checkout-index --all --force`
|
||||
|
||||
- Pulihkan berkas-berkas yang diubah sejak komit terakhir, mengabaikan berkas-berkas yang telah dihapus sebelumnya:
|
||||
|
||||
`git checkout-index --all --force --no-create`
|
||||
|
||||
- Ekspor sebuah salinan pohon (tree) pada komit terakhir kepada suatu direktori (nama direktori pada `--prefix` perlu diakhiri dengan garis miring):
|
||||
|
||||
`git checkout-index --all --force --prefix={{jalan/menuju/direktori_ekspor/}}`
|
Reference in New Issue
Block a user