From ee280e0acc9f8a5728cad964a336257fa3bfe212 Mon Sep 17 00:00:00 2001 From: Changwoo Park Date: Thu, 20 Aug 2015 19:03:02 +0900 Subject: [PATCH] fix mistranslation of `--cached` --- book/02-git-basics/sections/recording-changes.asc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/book/02-git-basics/sections/recording-changes.asc b/book/02-git-basics/sections/recording-changes.asc index 2a2d4c61..4c948fd3 100644 --- a/book/02-git-basics/sections/recording-changes.asc +++ b/book/02-git-basics/sections/recording-changes.asc @@ -472,7 +472,7 @@ The result tells you the changes you've made that you haven't yet staged. If you want to see what you've staged that will go into your next commit, you can use `git diff --staged`. This command compares your staged changes to your last commit: ////////////////////////// -만약 커밋하려고 Staging Area에 넣은 파일의 변경 부분을 보고 싶으면 `git diff --cached` 옵션을 사용한다. +만약 커밋하려고 Staging Area에 넣은 파일의 변경 부분을 보고 싶으면 `git diff --staged` 옵션을 사용한다. 이 명령은 저장소에 커밋한 것과 Staging Area에 있는 것을 비교한다. [source,console] @@ -541,9 +541,9 @@ index e445e28..86b2f7c 100644 ---- ////////////////////////// -and `git diff --cached` to see what you've staged so far: +and `git diff --cached` to see what you've staged so far (--staged and --cached are synonyms): ////////////////////////// -Staged 상태인 파일은 `git diff --cached` 옵션으로 확인한다. +Staged 상태인 파일은 `git diff --cached` 옵션으로 확인한다. --staged와 --cached는 같은 옵션이다. [source,console] ----