curl, docker, git, git-add, git-commit, git-status, npm: add Indonesian translation (#4602)
This commit is contained in:
20
pages.id/common/git-commit.md
Normal file
20
pages.id/common/git-commit.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# git commit
|
||||
|
||||
> Komit file ke dalam sebuah repositori.
|
||||
> Informasi selengkapnya: <https://git-scm.com/docs/git-commit>.
|
||||
|
||||
- Komit file bertahap ke repositori dengan sebuah pesan:
|
||||
|
||||
`git commit -m {{pesan}}`
|
||||
|
||||
- Otomatis merubah semua file yang dimodifikasi menjadi ke status stage dan menambahkan sebuah pesan:
|
||||
|
||||
`git commit -a -m {{pesan}}`
|
||||
|
||||
- Ganti komit terakhir dengan perubahan yang ada di status stage saat ini:
|
||||
|
||||
`git commit --amend`
|
||||
|
||||
- Komit file tertentu (yang sudah di status stage):
|
||||
|
||||
`git commit {{alamat/ke/file/saya1}} {{alamat/ke/file/saya2}}`
|
Reference in New Issue
Block a user