From dc95652a78a3ede7752c46de080dd0c6f5d96c49 Mon Sep 17 00:00:00 2001 From: Cipto Hadi Date: Wed, 28 Jan 2015 07:38:16 +0700 Subject: [PATCH 01/13] Update index.html add Indonesian language guide --- index.html | 73 +++++++++++++++++++++++++++--------------------------- 1 file changed, 37 insertions(+), 36 deletions(-) diff --git a/index.html b/index.html index da55d309..3fce5d50 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ - git - the simple guide - no deep shit! + git - panduan ringkas dan jelas! @@ -26,30 +26,31 @@
-

git - the simple guide

-

just a simple guide for getting started with git. no deep shit ;)

+

git - panduan ringkas

+

hanya sebuah panduan ringkas untuk mulai menggunakan git, tanpa basa-basi ;)

by Roger Dudler
credits to @tfnico, @fhd and Namics
- this guide in - deutsch, - español, - français, - italiano, - nederlands, - português, - русский, - türkçe, + panduan ini dalam bahasa + jerman, + spanyol, + perancis, + italia, + belanda, + portugis, + rusia, + turki,
- မြန်မာ, - 日本語, - 中文, - 한국어 - Vietnamese + myanmar, + mandarin, + jepang, + korea + vietnam + indonesia
- please report issues on github + silahkan laporkan isu di github

@@ -63,55 +64,55 @@

git - the simple guide

-

create a new repository

+

membuat repositori baru

- create a new directory, open it and perform a
+ buat direktori baru, masuk dan jalankan perintah
git init
- to create a new git repository. + untuk membuat repositori baru git.

-

checkout a repository

+

checkout repositori

- create a working copy of a local repository by running the command
+ buat salinan dari repositori lokal dengan menjalankan perintah
git clone /path/to/repository
- when using a remote server, your command will be
+ bila servernya remote, perintahnya sebagai berikut
git clone username@host:/path/to/repository

-

workflow

+

alurkerja

- your local repository consists of three "trees" maintained by git. - the first one is your Working Directory which holds the actual files. - the second one is the Index which acts as a staging area and - finally the HEAD which points to the last commit you've made. + repositori lokal Anda terdiri dari tiga "trees" yang dipelihara oleh git. + yang pertama adalah Direktori Kerja yang berisi berkas sebenarnya. + yang kedua adalah Index yang berfungsi sebagai "a staging area" (area antara) + dan terakhir adalah HEAD yang merujuk pada "commit" terakhir.

-

add & commit

+

menambahkan & commit

- You can propose changes (add it to the Index) using
+ Anda dapat mengusulkan perubahan (menambahkan ke Index) menggunakan
git add <filename>
git add *
- This is the first step in the basic git workflow. To actually commit these changes use
+ Ini langkah pertama dalam alurkerja dasar git. Untuk benar-benar "commit" perubahan tsb, jalankan
git commit -m "Commit message"
- Now the file is committed to the HEAD, but not in your remote repository yet. + Sekarang file nya sudah ter "commit" ke HEAD, tapi belum ke repositori "remote".

From b4e3e18f132824d4e7b393e1f669e76115afb923 Mon Sep 17 00:00:00 2001 From: Cipto Hadi Date: Wed, 28 Jan 2015 07:40:22 +0700 Subject: [PATCH 02/13] Create index.id.html create indonesian guide --- index.id.html | 288 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 288 insertions(+) create mode 100644 index.id.html diff --git a/index.id.html b/index.id.html new file mode 100644 index 00000000..61814b97 --- /dev/null +++ b/index.id.html @@ -0,0 +1,288 @@ +Skip to content + This repository +Explore +Gist +Blog +Help +Cipto Hadi ciptohadi79 + +1 Unwatch + Star 0 + Fork 225ciptohadi79/git-guide +forked from rogerdudler/git-guide + branch: gh-pages git-guide/index.html +Cipto Hadiciptohadi79 just now Update index.html +16 contributors Roger DudlerThomas Ferris NicolaisenStefano Ceschi BerriniPieter MichelsVictor RENEHtain Lin ShweWang DàpéngTom ByrerPete HawkinsGuillermo Ignacio Enriquez GutierrezLuis BarraganJuntai ParkJake ChenHuy Nguyen QuangPeter Dave HelloCipto Hadi +274 lines (269 sloc) 14.111 kb RawBlameHistory + + + + + + git - panduan ringkas dan jelas! + + + + + + +
+

git - panduan ringkas

+

hanya sebuah panduan ringkas untuk mulai menggunakan git, tanpa basa-basi ;)

+ + +

+ by Roger Dudler +
credits to @tfnico, @fhd and Namics
+ panduan ini dalam bahasa + jerman, + spanyol, + perancis, + italia, + belanda, + portugis, + rusia, + turki, +
+ myanmar, + mandarin, + jepang, + korea + vietnam + indonesia +
+ silahkan laporkan isu di github +

+
+ + Frontify - Collaboration for Web Designers & Front-End Developers + +
+ +
+ + + + +
+

membuat repositori baru

+

+ buat direktori baru, masuk dan jalankan perintah
+ git init
+ untuk membuat repositori baru git. +

+
+ +
+

checkout repositori

+

+ buat salinan dari repositori lokal dengan menjalankan perintah
+ git clone /path/to/repository
+ bila servernya remote, perintahnya sebagai berikut
+ git clone username@host:/path/to/repository +

+
+ +
+

alurkerja

+

+ repositori lokal Anda terdiri dari tiga "trees" yang dipelihara oleh git. + yang pertama adalah Direktori Kerja yang berisi berkas sebenarnya. + yang kedua adalah Index yang berfungsi sebagai "a staging area" (area antara) + dan terakhir adalah HEAD yang merujuk pada "commit" terakhir. +

+ +
+ +
+

menambahkan & commit

+

+ Anda dapat mengusulkan perubahan (menambahkan ke Index) menggunakan
+ git add <filename>
+ git add *
+ Ini langkah pertama dalam alurkerja dasar git. Untuk benar-benar "commit" perubahan tsb, jalankan
+ git commit -m "Commit message"
+ Sekarang file nya sudah ter "commit" ke HEAD, tapi belum ke repositori "remote". +

+
+ +
+

pushing changes

+

+ Your changes are now in the HEAD of your local working copy. To send those changes to your remote repository, execute
+ git push origin master
+ Change master to whatever branch you want to push your changes to. +

+ If you have not cloned an existing repository and want to connect your repository to a remote server, you need to add it with
+ git remote add origin <server>
+ Now you are able to push your changes to the selected remote server
+ +

+
+ +
+

branching

+

+ Branches are used to develop features isolated from each other. The master branch is the "default" branch when you create a repository. Use other branches for development and merge them back to the master branch upon completion. +

+ +

+ create a new branch named "feature_x" and switch to it using
+ git checkout -b feature_x
+ switch back to master
+ git checkout master
+ and delete the branch again
+ git branch -d feature_x
+ a branch is not available to others unless you push the branch to your remote repository
+ git push origin <branch> +

+
+ +
+

update & merge

+

+ to update your local repository to the newest commit, execute
+ git pull
+ in your working directory to fetch and merge remote changes.
+ to merge another branch into your active branch (e.g. master), use
+ git merge <branch>
+ in both cases git tries to auto-merge changes. Unfortunately, this is not always possible and results in conflicts. + You are responsible to merge those conflicts + manually by editing the files shown by git. After changing, you need to mark them as merged with
+ git add <filename>
+ before merging changes, you can also preview them by using
+ git diff <source_branch> <target_branch> +

+
+ +
+

tagging

+

+ it's recommended to create tags for software releases. this is a known concept, which also exists in SVN. You can create a new tag named 1.0.0 by executing
+ git tag 1.0.0 1b2e1d63ff
+ the 1b2e1d63ff stands for the first 10 characters of the commit id you want to reference with your tag. You can get the commit id by looking at the...
+

+
+ +
+

log

+

+ in its simplest form, you can study repository history using.. + git log
+ You can add a lot of parameters to make the log look like what you want. To see only the commits of a certain author:
+ git log --author=bob
+ To see a very compressed log where each commit is one line:
+ git log --pretty=oneline
+ Or maybe you want to see an ASCII art tree of all the branches, decorated with the names of tags and branches:
+ git log --graph --oneline --decorate --all
+ See only which files have changed:
+ git log --name-status
+ These are just a few of the possible parameters you can use. For more, see + git log --help
+

+
+ +
+

replace local changes

+

+ In case you did something wrong (which for sure never happens ;) you can replace local changes using the command
+ git checkout -- <filename>
+ this replaces the changes in your working tree with the last content in HEAD. Changes already added to the index, as well as new files, will be kept. +

+

+ If you instead want to drop all your local changes and commits, fetch the latest history from the server and point your local master branch at it like this
+ git fetch origin
+ git reset --hard origin/master +

+
+ +
+

useful hints

+

+ built-in git GUI
+ gitk
+ use colorful git output
+ git config color.ui true
+ show log on just one line per commit
+ git config format.pretty oneline
+ use interactive adding
+ git add -i +

+
+ + + +
+

comments

+
+ + +
+ + + + +Status API Training Shop Blog About +© 2015 GitHub, Inc. Terms Privacy Security Contact From 1b09f79bac4f645aae5d08f21401b5b293db2eec Mon Sep 17 00:00:00 2001 From: Cipto Hadi Date: Wed, 28 Jan 2015 07:42:55 +0700 Subject: [PATCH 03/13] Update index.html add an entry for guide on Indonesian language --- index.html | 74 +++++++++++++++++++++++++++--------------------------- 1 file changed, 37 insertions(+), 37 deletions(-) diff --git a/index.html b/index.html index 3fce5d50..11f1c101 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ - git - panduan ringkas dan jelas! + git - the simple guide - no deep shit! @@ -26,31 +26,31 @@
-

git - panduan ringkas

-

hanya sebuah panduan ringkas untuk mulai menggunakan git, tanpa basa-basi ;)

+

git - the simple guide

+

just a simple guide for getting started with git. no deep shit ;)

by Roger Dudler
credits to @tfnico, @fhd and Namics
- panduan ini dalam bahasa - jerman, - spanyol, - perancis, - italia, - belanda, - portugis, - rusia, - turki, + this guide in + deutsch, + español, + français, + italiano, + nederlands, + português, + русский, + türkçe,
- myanmar, - mandarin, - jepang, - korea - vietnam - indonesia + မြန်မာ, + 日本語, + 中文, + 한국어 + Vietnamese + Indonesian
- silahkan laporkan isu di github + please report issues on github

@@ -64,55 +64,55 @@

git - panduan ringkas

-

membuat repositori baru

+

create a new repository

- buat direktori baru, masuk dan jalankan perintah
+ create a new directory, open it and perform a
git init
- untuk membuat repositori baru git. + to create a new git repository.

-

checkout repositori

+

checkout a repository

- buat salinan dari repositori lokal dengan menjalankan perintah
+ create a working copy of a local repository by running the command
git clone /path/to/repository
- bila servernya remote, perintahnya sebagai berikut
+ when using a remote server, your command will be
git clone username@host:/path/to/repository

-

alurkerja

+

workflow

- repositori lokal Anda terdiri dari tiga "trees" yang dipelihara oleh git. - yang pertama adalah Direktori Kerja yang berisi berkas sebenarnya. - yang kedua adalah Index yang berfungsi sebagai "a staging area" (area antara) - dan terakhir adalah HEAD yang merujuk pada "commit" terakhir. + your local repository consists of three "trees" maintained by git. + the first one is your Working Directory which holds the actual files. + the second one is the Index which acts as a staging area and + finally the HEAD which points to the last commit you've made.

-

menambahkan & commit

+

add & commit

- Anda dapat mengusulkan perubahan (menambahkan ke Index) menggunakan
+ You can propose changes (add it to the Index) using
git add <filename>
git add *
- Ini langkah pertama dalam alurkerja dasar git. Untuk benar-benar "commit" perubahan tsb, jalankan
+ This is the first step in the basic git workflow. To actually commit these changes use
git commit -m "Commit message"
- Sekarang file nya sudah ter "commit" ke HEAD, tapi belum ke repositori "remote". + Now the file is committed to the HEAD, but not in your remote repository yet.

From 7cd7613f7d014014f7d2de035c106086ee308a2c Mon Sep 17 00:00:00 2001 From: Cipto Hadi Date: Wed, 28 Jan 2015 07:45:09 +0700 Subject: [PATCH 04/13] Update index.id.html --- index.id.html | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/index.id.html b/index.id.html index 61814b97..29570d4f 100644 --- a/index.id.html +++ b/index.id.html @@ -1,19 +1,3 @@ -Skip to content - This repository -Explore -Gist -Blog -Help -Cipto Hadi ciptohadi79 - -1 Unwatch - Star 0 - Fork 225ciptohadi79/git-guide -forked from rogerdudler/git-guide - branch: gh-pages git-guide/index.html -Cipto Hadiciptohadi79 just now Update index.html -16 contributors Roger DudlerThomas Ferris NicolaisenStefano Ceschi BerriniPieter MichelsVictor RENEHtain Lin ShweWang DàpéngTom ByrerPete HawkinsGuillermo Ignacio Enriquez GutierrezLuis BarraganJuntai ParkJake ChenHuy Nguyen QuangPeter Dave HelloCipto Hadi -274 lines (269 sloc) 14.111 kb RawBlameHistory @@ -284,5 +268,3 @@

comments

-Status API Training Shop Blog About -© 2015 GitHub, Inc. Terms Privacy Security Contact From 4ae1b26313f56a0468088b40a06dc3ec31c59ba7 Mon Sep 17 00:00:00 2001 From: Cipto Hadi Date: Wed, 28 Jan 2015 16:53:58 +0700 Subject: [PATCH 05/13] Update index.html --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 11f1c101..e8ed42b7 100644 --- a/index.html +++ b/index.html @@ -46,8 +46,8 @@

git - the simple guide

မြန်မာ, 日本語, 中文, - 한국어 - Vietnamese + 한국어, + Vietnamese, Indonesian
please report issues on github From 5112b8595ae7949de89e6df7aecc9cffc134068a Mon Sep 17 00:00:00 2001 From: Cipto Hadi Date: Wed, 28 Jan 2015 17:54:13 +0700 Subject: [PATCH 06/13] Update index.id.html --- index.id.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/index.id.html b/index.id.html index 29570d4f..8a0dc8df 100644 --- a/index.id.html +++ b/index.id.html @@ -103,14 +103,14 @@

alurkerja

-

menambahkan & commit

+

menambahkan & mengikat (commit)

- Anda dapat mengusulkan perubahan (menambahkan ke Index) menggunakan
+ Anda dapat menambahkan perubahan (menambahkan ke Index) menggunakan
git add <filename>
git add *
- Ini langkah pertama dalam alurkerja dasar git. Untuk benar-benar "commit" perubahan tsb, jalankan
+ Ini langkah pertama dalam alurkerja dasar git. Untuk benar-benar mengikat perubahan tsb, jalankan
git commit -m "Commit message"
- Sekarang file nya sudah ter "commit" ke HEAD, tapi belum ke repositori "remote". + Sekarang file nya sudah ter terikat ke HEAD, tapi belum ke repositori "remote".

From a030eea2bcfa44f9648c436d4316eb42bf4413ab Mon Sep 17 00:00:00 2001 From: Cipto Hadi Date: Wed, 28 Jan 2015 18:04:01 +0700 Subject: [PATCH 07/13] Update index.id.html --- index.id.html | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/index.id.html b/index.id.html index 8a0dc8df..757ac5ff 100644 --- a/index.id.html +++ b/index.id.html @@ -44,8 +44,8 @@

git - panduan ringkas

myanmar, mandarin, jepang, - korea - vietnam + korea, + vietnam, indonesia
silahkan laporkan isu di github @@ -205,7 +205,7 @@

replace local changes

-

useful hints

+

petunjuk yang berguna

built-in git GUI
gitk
@@ -219,8 +219,8 @@

useful hints

-

links & resources

-

graphical clients

+

Link & Sumberdaya

+

Progam Git Grafis

-

guides

+

Panduan

-

get help

+

Cari Bantuan

@@ -262,7 +262,7 @@

comments

(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); })(); - +
From 309b7fe4d97be2fc1751b0fcbed4e984ce2f5fe9 Mon Sep 17 00:00:00 2001 From: Cipto Hadi Date: Wed, 28 Jan 2015 18:11:52 +0700 Subject: [PATCH 08/13] Update index.id.html --- index.id.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/index.id.html b/index.id.html index 757ac5ff..7b25ec0a 100644 --- a/index.id.html +++ b/index.id.html @@ -115,15 +115,15 @@

menambahkan & mengikat (commit)

-

pushing changes

+

mengirim perubahan

- Your changes are now in the HEAD of your local working copy. To send those changes to your remote repository, execute
+ Sekarang perubahannya di HEAD dari repositori lokal. Untuk mengirimnya ke repositori remote, jalankan
git push origin master
- Change master to whatever branch you want to push your changes to. + Ganti master dengan cabang yang dikehendaki.

- If you have not cloned an existing repository and want to connect your repository to a remote server, you need to add it with
+ Jika sebelumnya Anda tidak mengclone repositori remote dan ingin menghubungkan repositori lokal ke server remote, jalankan perintah
git remote add origin <server>
- Now you are able to push your changes to the selected remote server
+ Sekarang Anda sudah dapat mengirim perubaha ke server remote

From ba97836d923c176e70e37aebf34ccca43a238a2f Mon Sep 17 00:00:00 2001 From: Cipto Hadi Date: Wed, 28 Jan 2015 18:21:16 +0700 Subject: [PATCH 09/13] Update index.id.html --- index.id.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/index.id.html b/index.id.html index 7b25ec0a..b0b1a832 100644 --- a/index.id.html +++ b/index.id.html @@ -123,25 +123,25 @@

mengirim perubahan



Jika sebelumnya Anda tidak mengclone repositori remote dan ingin menghubungkan repositori lokal ke server remote, jalankan perintah
git remote add origin <server>
- Sekarang Anda sudah dapat mengirim perubaha ke server remote
+ Sekarang Anda sudah dapat mengirim perubahan ke server remote

-

branching

+

Percabangan(branching)

- Branches are used to develop features isolated from each other. The master branch is the "default" branch when you create a repository. Use other branches for development and merge them back to the master branch upon completion. + Cabang digunakan untuk mengembangkan fitur suatu proyek perangkat lunak, dimana antar cabang terisolasi satu sama lain. Cabang master adalah cabang "default" saat membuat repositori baru. Gunakan cabang lain untuk pengembangan, kemudian leburkan ke cabang master setelah selesai.

- create a new branch named "feature_x" and switch to it using
+ buat cabang baru bernama "feature_x" dan pindah ke sana dengan perintah
git checkout -b feature_x
- switch back to master
+ pindah kembali ke master
git checkout master
- and delete the branch again
+ dan hapus cabang tsb
git branch -d feature_x
- a branch is not available to others unless you push the branch to your remote repository
+ cabang tak kan terakses umum kecuali jika dikirim ke repositori publik remote dg perintah
git push origin <branch>

From 3712c7d137626cffa2e723fb50388b0359f4b092 Mon Sep 17 00:00:00 2001 From: Cipto Hadi Date: Wed, 28 Jan 2015 18:36:02 +0700 Subject: [PATCH 10/13] Update index.id.html --- index.id.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/index.id.html b/index.id.html index b0b1a832..fa4102c6 100644 --- a/index.id.html +++ b/index.id.html @@ -141,24 +141,24 @@

Percabangan(branching)

git checkout master
dan hapus cabang tsb
git branch -d feature_x
- cabang tak kan terakses umum kecuali jika dikirim ke repositori publik remote dg perintah
+ cabang tak kan terakses umum kecuali jika dikirim ke repositori publik remote dgn perintah
git push origin <branch>

-

update & merge

+

perbarui & lebur

- to update your local repository to the newest commit, execute
+ untuk memperbarui repositori lokal sesuai dengan commit terakhir dari repositori remote, jalankan
git pull
- in your working directory to fetch and merge remote changes.
- to merge another branch into your active branch (e.g. master), use
+ di direktori kerja untuk mengambil dan melebur perubahannya.
+ untuk melebur cabang lain ke cabang aktif (mis. master), gunakan
git merge <branch>
- in both cases git tries to auto-merge changes. Unfortunately, this is not always possible and results in conflicts. - You are responsible to merge those conflicts - manually by editing the files shown by git. After changing, you need to mark them as merged with
+ dalam kedua kasus tersebut, git berusaha melebur secara otomatis. Sayangya, ini tidak selalu berhasil yang akibatnya menimbulkan konflik. + Anda harus secara manual menyelesaikan terlebih dahulu konflik tsb + dgn mengedit berkas yg ditunjukkan git. Setelah dirubah, Anda harus menambahkannya dgn perintah
git add <filename>
- before merging changes, you can also preview them by using
+ sebelum melebur perubahannya, Anda juga bisa mem-preview perbedaannya dengan
git diff <source_branch> <target_branch>

From 0ad21be235ffbf42641bf7a1370bc4d39944e70c Mon Sep 17 00:00:00 2001 From: Cipto Hadi Date: Wed, 28 Jan 2015 18:55:51 +0700 Subject: [PATCH 11/13] Update index.id.html --- index.id.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.id.html b/index.id.html index fa4102c6..b38b0d84 100644 --- a/index.id.html +++ b/index.id.html @@ -164,11 +164,11 @@

perbarui & lebur

-

tagging

+

penandaan (tagging)

- it's recommended to create tags for software releases. this is a known concept, which also exists in SVN. You can create a new tag named 1.0.0 by executing
+ Untuk merelease software disarankan untuk menandainya terlebih dahulu. Di git konsep ini sudah dikenal umum, termasuk juga di SVN. Anda dapat membuat tag bernama 1.0.0 dgn perintah
git tag 1.0.0 1b2e1d63ff
- the 1b2e1d63ff stands for the first 10 characters of the commit id you want to reference with your tag. You can get the commit id by looking at the...
+ 1b2e1d63ff merupakan 10 karakter pertama dari id commit yg ingin Anda rujuk.

From d01e941294c029171e5c2706db77edd3580d984a Mon Sep 17 00:00:00 2001 From: Cipto Hadi Date: Wed, 28 Jan 2015 19:08:11 +0700 Subject: [PATCH 12/13] Update index.id.html --- index.id.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/index.id.html b/index.id.html index b38b0d84..089adf00 100644 --- a/index.id.html +++ b/index.id.html @@ -175,17 +175,17 @@

penandaan (tagging)

log

- in its simplest form, you can study repository history using.. + Dalam bentuk sederhana, Anda bisa melihat riwayat repositori dengan .. git log
- You can add a lot of parameters to make the log look like what you want. To see only the commits of a certain author:
+ Anda menambahkan parameter untuk menyaring info riwayat tsb. Untuk melihat riwayat dari author tertentu:
git log --author=bob
- To see a very compressed log where each commit is one line:
+ Untuk versi ringkas dr riwayat, dimana tiap commit dalam satu baris :
git log --pretty=oneline
- Or maybe you want to see an ASCII art tree of all the branches, decorated with the names of tags and branches:
+ Atau mungkin Anda ingin melihat dalam bentuk pohon seni ASCII dari seluruh cabang, dihiasi dgn nama tag dan cabang:
git log --graph --oneline --decorate --all
- See only which files have changed:
+ Hanya melihat berkas-berkas yang berubah saja:
git log --name-status
- These are just a few of the possible parameters you can use. For more, see + Masih ada parameter yang lain. Lebih lengkapnya, jalankan git log --help

From 48543dad5f99260e7a0fda9b30894434aa68704c Mon Sep 17 00:00:00 2001 From: Cipto Hadi Date: Wed, 28 Jan 2015 19:24:53 +0700 Subject: [PATCH 13/13] Update index.id.html --- index.id.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/index.id.html b/index.id.html index 089adf00..41fa6d97 100644 --- a/index.id.html +++ b/index.id.html @@ -191,14 +191,14 @@

log

-

replace local changes

+

mengganti perubahan lokal

- In case you did something wrong (which for sure never happens ;) you can replace local changes using the command
+ Jika Anda melakukan suatu kesalahan dan ingin mengganti perubahan lokal tsb dgn
git checkout -- <filename>
- this replaces the changes in your working tree with the last content in HEAD. Changes already added to the index, as well as new files, will be kept. + hal ini akan mengganti perubahan di direktori kerja dgn isi terakhir di HEAD. Perubahan yang sudah ditambahkan ke Index, akan tetap terjaga.

- If you instead want to drop all your local changes and commits, fetch the latest history from the server and point your local master branch at it like this
+ Jika Anda ingin membuang semua "perubahan dan commit lokal", mengambil riwayat terakhir dari server remote dan merujukkan cabang master lokal kepadanya, maka jalankan
git fetch origin
git reset --hard origin/master