Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions book/01-introduction/sections/basics.asc
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ This functionality is built into Git at the lowest levels and is integral to its
You can't lose information in transit or get file corruption without Git being able to detect it.
//////////////////////////
Git은 데이터를 저장하기 전에 항상 체크섬을 구하고 그 체크섬으로 데이터를 관리한다.
그래서 체크섬 이해하는 Git 없이는 어떠한 파일이나 디렉토리도 변경할 수 없다.
그래서 체크섬을 이해하는 Git 없이는 어떠한 파일이나 디렉토리도 변경할 수 없다.
체크섬은 Git에서 사용하는 가장 기본적인(Atomic) 데이터 단위이자 Git의 기본 철학이다.
Git 없이는 체크섬을 다룰 수 없어서 파일의 상태도 알 수 없고 심지어 데이터를 잃어버릴 수도 없다.

Expand Down Expand Up @@ -237,4 +237,4 @@ In <<_git_basics_chapter>>, you'll learn more about these states and how you can
Git 디렉토리에 있는 파일들은 Committed 상태이다.
파일을 수정하고 Staging Area에 추가했다면 Staged이다.
그리고 Checkout 하고 나서 수정했지만, 아직 Staging Area에 추가하지 않았으면 Modified이다.
<<_git_basics_chapter>>에서 이 상태에 대해 좀 더 자세히 배운다. 특히 Staging Area를 어떻게 이용하는지 혹은 아예 생략하는 방법도 설명한다.
<<_git_basics_chapter>>에서 이 상태에 대해 좀 더 자세히 배운다. 특히 Staging Area를 이용하는 방법부터 아예 생략하는 방법까지도 설명한다.
6 changes: 3 additions & 3 deletions book/01-introduction/sections/command-line.asc
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ Also, while your choice of graphical client is a matter of personal taste, _all_
Git을 사용하는 방법은 많다.
CLI로 사용할 수도 있고 GUI를 사용할 수도 있다.
이 책에서는 Git CLI 사용법을 설명한다.
Git의 *모든* 기능을 지원하는 것은 CLI 뿐이다. GUI 프로그램의 대부분은 Git 기능을 전부 구현하지 않아서 비교적 단순하다.
Git의 *모든* 기능을 지원하는 것은 CLI 뿐이다. GUI 프로그램의 대부분은 Git 기능 중 일부만 구현하기 때문에 비교적 단순하다.
CLI를 사용할 줄 알면 GUI도 사용할 수 있지만 반대는 성립하지 않는다.
GUI를 선호하는 사람이 있다고 하더라도, CLI는 _모든_ 사람 컴퓨터에 설치돼 있어서 바로 사용할 수 있을 것이다.
GUI를 선호하는 사람이 있다고 하더라도, CLI는 _모든_ 사람의 컴퓨터에 설치돼 있어서 바로 사용할 수 있을 것이다.

//////////////////////////
So we will expect you to know how to open Terminal in Mac or Command Prompt or Powershell in Windows.
If you don't know what we're talking about here, you may need to stop and research that quickly so that you can follow the rest of the examples and descriptions in this book.
//////////////////////////
그래서 우리는 Mac의 Terminal이나 윈도의 CMD나 Powershell을 실행시키는 방법은 알고 있을 거라고 가정했다.
만약 이 말이 무슨 말인지 모르겠다면 일단 여기서 멈추고 재빨리 배우길 바란다. 그래야 이 책에서 설명하는 내용을 배울 수 있다.
만약 이 말이 무슨 말인지 모르겠다면 일단 여기서 멈추고 Terminal이나 Powershell에 대해 알아보기 바란다. 그래야 이 책의 설명을 따라올 수 있다.
2 changes: 1 addition & 1 deletion book/01-introduction/sections/first-time-setup.asc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ You should have to do these things only once on any given computer; they'll stic
You can also change them at any time by running through the commands again.
//////////////////////////
Git을 설치하고 나면 Git의 사용 환경을 적절하게 설정해 주어야 한다.
번만 설정하면 된다. 설정한 내용은 Git을 업그레이드해도 유지된다.
환경 설정은 한 컴퓨터에서 한 번만 하면 된다. 설정한 내용은 Git을 업그레이드해도 유지된다.
언제든지 다시 바꿀 수 있는 명령어도 있다.

//////////////////////////
Expand Down
42 changes: 21 additions & 21 deletions book/01-introduction/sections/installing.asc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ You can either install it as a package or via another installer, or download the
//////////////////////////
Git을 사용하려면 우선 설치해야 한다.
이미 설치했으면 최신 버전으로 업데이트하는 게 좋다.
패키지 설치하거나 별도의 인스톨러로 설치할 수 있다. 아니면 직접 소스코드를 내려받아서 컴파일할 수도 있다.
패키지를 설치하거나 별도의 인스톨러로 설치할 수 있다. 아니면 직접 소스코드를 내려받아서 컴파일할 수도 있다.

[NOTE]
//////////////////////////
Expand All @@ -22,8 +22,8 @@ Since Git is quite excellent at preserving backwards compatibility, any version
//////////////////////////
====
이 책은 Git *2.0.0* 버전을 기준으로 썼다.
그래도 대부분의 명령어는 그 이전 버전에서도 잘 동작한다. 하지만, 몇 가지 기능은 아예 없거나 미묘하게 다를 수 있다.
Git은 정말 이전 버전과 잘 호환되도록 유지하기 때문에 2.0 이후 버전에서는 잘 동작한다.
대부분의 명령어는 그 이전 버전에서도 잘 동작하지만, 몇 가지 기능은 아예 없거나 미묘하게 다를 수 있다.
Git의 하위 호환성은 정말 훌륭하기 때문에 2.0 이후 버전에서는 잘 동작한다.
====

//////////////////////////
Expand All @@ -47,7 +47,7 @@ $ sudo yum install git-all
//////////////////////////
If you're on a Debian-based distribution like Ubuntu, try apt-get:
//////////////////////////
Ubuntu같은 데비안류 배포판에서는 apt-get을 사용한다.
Ubuntu등의 데비안 계열 배포판에서는 apt-get을 사용한다.

[source,console]
----
Expand All @@ -71,16 +71,16 @@ The easiest is probably to install the Xcode Command Line Tools.(((Xcode)))
On Mavericks (10.9) or above you can do this simply by trying to run 'git' from the Terminal the very first time.
If you don't have it installed already, it will prompt you to install it.
//////////////////////////
Mac에 Git을 설치하는 방법 중에서 Xcode Command Line Tools가 설치하기 가장 쉽다.(((Xcode)))
Mavericks(10.9)부터는 Terminal을 열고 바로 'git'을 실행하는 것으로 시작할 수 있다.
Mac에 Git을 설치하는 방법 중에는 Xcode Command Line Tools를 설치하는 방법이 가장 쉽다.(((Xcode)))
Mavericks(10.9)부터는 Terminal에 단지 처음으로 'git'을 실행하는 것으로 설치가 시작된다.
'git'이 설치돼 있지 않으면 설치하라고 안내해준다.

//////////////////////////
If you want a more up to date version, you can also install it via a binary installer.
An OSX Git installer is maintained and available for download at the Git website, at http://git-scm.com/download/mac[].
//////////////////////////
좀 더 최신 버전이 필요하면 바이너리 인스톨러로 설치할 수 있다.
OSX용 Git 인스톨러는 Git 웹사이트에서 관리하고 http://git-scm.com/download/mac[] 에서 내려받는다.
OSX용 Git 인스톨러는 Git 웹사이트에서 관리하고 있으며 http://git-scm.com/download/mac[] 에서 내려받는다.

//////////////////////////
.Git OS X Installer.
Expand Down Expand Up @@ -111,7 +111,7 @@ Note that this is a project called Git for Windows, which is separate from Git i
//////////////////////////
윈도에 Git을 설치하는 방법은 여러 가지다.(((Windows, installing)))
공식 배포판은 Git 웹사이트에서 내려받을 수 있다.
http://git-scm.com/download/win[]에 가면 자동으로 내려받는다.
http://git-scm.com/download/win[]에 가면 자동으로 다운로드가 시작된다.
이 프로젝트가 'Git for Windows'인데, Git 자체와는 다른 별도의 프로젝트다. 자세한 정보는 https://git-for-windows.github.io/[]에서 확인한다.

//////////////////////////
Expand All @@ -121,10 +121,10 @@ It also works well with Powershell, and sets up solid credential caching and san
We'll learn more about those things a little later, but suffice it to say they're things you want.
You can download this from the GitHub for Windows website, at http://windows.github.com[].
//////////////////////////
윈도도 마찬가지로 'GitHub for Windows'를 설치해도 된다.
이 인스톨러는 CLI도 설치하고 GUI도 설치한다.
Powershell에서도 잘 동작하고 암호(Credential) 캐싱과 CRLF 설정도 잘 된다.(((Powershell)))(((CRLF)))(((credential caching)))
이런 것들은 차차 배우게 될 것인데, 아마도 충분할 것이다.
윈도에서도 'GitHub for Windows'를 설치할 수 있다.
이 인스톨러는 CLI와 GUI를 모두 설치해준다.
설치하면 Git을 Powershell에서 사용할 수 있다. 인증정보(Credential) 캐싱과 CRLF 설정까지 잘 된다.(((Powershell)))(((CRLF)))(((credential caching)))
이런 것들은 차차 배우게 될 것인데, 하나하나가 다 필요하다는 것을 알게 될 것이다.
'GitHub for Windows'는 http://windows.github.com[]에서 내려받는다.

//////////////////////////
Expand All @@ -143,8 +143,8 @@ The binary installers tend to be a bit behind, though as Git has matured in rece
If you do want to install Git from source, you need to have the following libraries that Git depends on: curl, zlib, openssl, expat, and libiconv.
For example, if you're on a system that has yum (such as Fedora) or apt-get (such as a Debian based system), you can use one of these commands to install all of the dependencies:
//////////////////////////
Git을 설치하려면 아래와 같은 라이브러리들이 필요하다. Git은 curl, zlib, openssl, expat, libiconv를 필요로 한다.
예를 들어 Fedora처럼 yum을 사용하는 시스템이나 apt-get이 있는 데비안류 시스템이면 아래 명령어를 실행하여 의존 패키지를 설치할 수 있다.
Git을 설치하려면 Git이 의존하고 있는 라이브러리인 curl, zlib, openssl, expat, libiconv등이 필요하다.
예를 들어 yum을 사용하는 Fedora등의 시스템이나 apt-get이 있는 데비안 계열 시스템이면 아래 명령어 중 하나를 실행하여 필요한 패키지를 설치할 수 있다.

[source,console]
----
Expand All @@ -158,7 +158,7 @@ $ sudo apt-get install libcurl4-gnutls-dev libexpat1-dev gettext \
In order to be able to add the documentation in various formats (doc, html, info), these additional dependencies are required:
In order to be able to add the documentation in various formats (doc, html, info), these additional dependencies are required (Note: users of RHEL and RHEL-derivatives like CentOS and Scientific Linux will have to https://fedoraproject.org/wiki/EPEL#How_can_I_use_these_extra_packages.3F[enable the EPEL repository] to download the `docbook2X` package):
//////////////////////////
다양한(doc, html, info) 형식의 문서를 이용하려면 아래의 의존 패키지가 필요하다(주의: CentOS나 Scientific Linux 같은 RHEL류(derivatives) 사용자는 https://fedoraproject.org/wiki/EPEL#How_can_I_use_these_extra_packages.3F[EPEL 저장소를 켜고] `docbook2X` 패키지를 다운로드해야 한다.
문서를 다양한(doc, html, info) 형식으로 추가하려면 다음의 패키지들이 추가로 필요하다(주의: CentOS나 Scientific Linux 같은 RHEL 계열 사용자는 https://fedoraproject.org/wiki/EPEL#How_can_I_use_these_extra_packages.3F[EPEL 저장소를 켜고] `docbook2X` 패키지를 다운로드해야 한다.)

[source,console]
----
Expand All @@ -169,7 +169,7 @@ $ sudo apt-get install asciidoc xmlto docbook2x
//////////////////////////
Additionally, if you're using Fedora/RHEL/RHEL-derivatives, you need to do this
//////////////////////////
Fedora/RHEL/RHEL류 사용자라면 아래 명령도 필요하다.
Fedora/RHEL/RHEL 계열 사용자라면 아래 명령도 필요하다.

[source,console]
----
Expand All @@ -179,21 +179,21 @@ $ sudo ln -s /usr/bin/db2x_docbook2texi /usr/bin/docbook2x-texi
//////////////////////////
due to binary name differences.
//////////////////////////
바이너리 이름이 달라서 그렇다.
실행파일 이름이 달라서 그렇다.

//////////////////////////
When you have all the necessary dependencies, you can go ahead and grab the latest tagged release tarball from several places.
You can get it via the Kernel.org site, at https://www.kernel.org/pub/software/scm/git[], or the mirror on the GitHub web site, at https://github.com/git/git/releases[].
It's generally a little clearer what the latest version is on the GitHub page, but the kernel.org page also has release signatures if you want to verify your download.
//////////////////////////
모든 게 준비되면 바로 최신 배포 버전을 가져온다.
Kernel.org(https://www.kernel.org/pub/software/scm/git[])에서 내려받을 수도 있고 GitHub 미러(https://github.com/git/git/releases[])에서도 받을 수도 있다.
모든 준비가 완료되면, 최신 배포 버전을 가져와야 한다.
Kernel.org(https://www.kernel.org/pub/software/scm/git[])에서 내려받을 수도 있고 GitHub에 있는 미러(https://github.com/git/git/releases[])에서도 받을 수도 있다.
보통 GitHub 페이지에서 최신 버전을 내려받는 것이 더 간단하지만 kernel.org에는 배포 시그너처가 있어서 내려받은 것을 검증할 수 있다.

//////////////////////////
Then, compile and install:
//////////////////////////
그리고 컴파일하고 설치한다.
이제, 컴파일하고 설치하자.

[source,console]
----
Expand All @@ -208,7 +208,7 @@ $ sudo make install install-doc install-html install-info
//////////////////////////
After this is done, you can also get Git via Git itself for updates:
//////////////////////////
설치하고 나면 Git을 사용하여 Git 소스코드를 수정할 수도 있다.
설치하고 나면 Git을 사용하여 Git 소스코드를 받아서 수정할 수도 있다.

[source,console]
----
Expand Down