From 7575dceb3e580f9c7ab89e7fba3201297b44b21e Mon Sep 17 00:00:00 2001 From: mbc9news Date: Wed, 15 Jul 2015 23:11:45 +0900 Subject: [PATCH 1/4] =?UTF-8?q?=EB=B2=88=EC=97=AD=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- book/10-git-internals/sections/plumbing-porcelain.asc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/book/10-git-internals/sections/plumbing-porcelain.asc b/book/10-git-internals/sections/plumbing-porcelain.asc index b51060eb..22ee1e3b 100644 --- a/book/10-git-internals/sections/plumbing-porcelain.asc +++ b/book/10-git-internals/sections/plumbing-porcelain.asc @@ -9,7 +9,8 @@ This book covers how to use Git with 30 or so verbs such as `checkout`, `branch` But because Git was initially a toolkit for a VCS rather than a full user-friendly VCS, it has a bunch of verbs that do low-level work and were designed to be chained together UNIX style or called from scripts. These commands are generally referred to as ``plumbing'' commands, and the more user-friendly commands are called ``porcelain'' commands. ////////////////////////// -이 책에서는 `checkout`, `branch`, `remote` 같은 30여 가지의 Git 명령을 사용했다. Git은 사실 사용자 친화적인 VCS이기 보다는 VCS로도 사용할 수 있는 툴킷이다. 저수준 명령어가 매우 많아서 저수준의 일도 쉽게 처리할 수 있다. 명령어 여러 개를 Unix 스타일로 함께 엮어서 실행하거나 스크립트에서 호출할 수 있도록 설계됐다. +이 책은 `checkout`, `branch`, `remote` 등과 같은 30여가지의 명령어를 이용하여 Git를 어떻게 사용하는지 다루고 있다. +Git은 원래 완전히 사용자 편의적인 VCS라기보다는 VCS를 사용하기 위한 툴킷이었기 때문에, 저레벨의 일을 수행하는 다수의 명령어를 가지고 있고 UNIX 스타일과 함께 연동되거나 스크립트에서 불러오도록 디자인 되었다. 이러한 저수준의 명령어는 ``Plumbing'' 명령어라고 부르고 좀 더 사용자에게 친숙한 사용자용 명령어는 ``Porcelain'' 명령어라고 부른다. ////////////////////////// From 142c63b661a471c89b18ff72e43a049307b7527a Mon Sep 17 00:00:00 2001 From: mbc9news Date: Thu, 16 Jul 2015 00:01:18 +0900 Subject: [PATCH 2/4] =?UTF-8?q?=EC=98=A4=ED=83=80=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- book/10-git-internals/sections/plumbing-porcelain.asc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/book/10-git-internals/sections/plumbing-porcelain.asc b/book/10-git-internals/sections/plumbing-porcelain.asc index 22ee1e3b..c52c2b36 100644 --- a/book/10-git-internals/sections/plumbing-porcelain.asc +++ b/book/10-git-internals/sections/plumbing-porcelain.asc @@ -52,9 +52,9 @@ The `config` file contains your project-specific configuration options, and the The `hooks` directory contains your client- or server-side hook scripts, which are discussed in detail in <<_git_hooks>>. ////////////////////////// 이 외에 다른 파일들이 더 있지만, 이 상태가 `git init`을 한 직후에 보이는 새 저장소의 모습이다. -`description` 파일은 기본적으로 GitWeb 프로그램에서만 사용하기 때문에 이 둘은 무시해도 된다. +`description` 파일은 기본적으로 GitWeb 프로그램에서만 사용하기 때문에 이 파일은 신경쓰지 않아도 된다. `config` 파일에는 해당 프로젝트에만 적용되는 설정 옵션이 들어 있다. `info` 디렉토리는 .gitignore 파일처럼 무시할 파일의 패턴을 적어 두는 곳이다. 하지만 .gitignore 파일과는 달리 Git으로 관리되지 않는다. -`hook` 디렉토리에는 클라이언트 훅이나 서버 훅을 넣는다. 관련 내용은 <<_git_hooks>> 에서 설명한다. +`hooks` 디렉토리에는 클라이언트 훅이나 서버 훅이 위치한다. 관련 내용은 <<_git_hooks>> 에서 설명한다. ////////////////////////// This leaves four important entries: the `HEAD` and (yet to be created) `index` files, and the `objects` and `refs` directories. From f13ab0b0ee37cb933cee40d9986870f675bff92b Mon Sep 17 00:00:00 2001 From: mbc9news Date: Sat, 25 Jul 2015 13:42:19 +0900 Subject: [PATCH 3/4] chapter1 review --- .../01-introduction/sections/about-version-control.asc | 2 +- book/01-introduction/sections/installing.asc | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/book/01-introduction/sections/about-version-control.asc b/book/01-introduction/sections/about-version-control.asc index 73d69b5e..26b032b1 100644 --- a/book/01-introduction/sections/about-version-control.asc +++ b/book/01-introduction/sections/about-version-control.asc @@ -57,7 +57,7 @@ One of the more popular VCS tools was a system called RCS, which is still distri Even the popular Mac OS X operating system includes the `rcs` command when you install the Developer Tools. RCS works by keeping patch sets (that is, the differences between files) in a special format on disk; it can then re-create what any file looked like at any point in time by adding up all the patches. ////////////////////////// -많이 쓰는 VCS 도구 중에 RCS라고 부르는 것이 있는데 오늘날까지도 아직 많은 회사가 사용하고 있다. +많이 쓰는 VCS 도구 중에 RCS(Revision Control System)라고 부르는 것이 있는데 오늘날까지도 아직 많은 회사가 사용하고 있다. Mac OS X 운영체제에서도 개발 도구를 설치하면 RCS가 함께 설치된다. RCS는 기본적으로 Patch Set(파일에서 변경되는 부분)을 관리한다. 이 Patch Set은 특별한 형식의 파일로 저장한다. diff --git a/book/01-introduction/sections/installing.asc b/book/01-introduction/sections/installing.asc index 963cab75..1eb3d237 100644 --- a/book/01-introduction/sections/installing.asc +++ b/book/01-introduction/sections/installing.asc @@ -140,9 +140,9 @@ Git을 설치하려면 아래와 같은 라이브러리들이 필요하다. Git [source,console] $ sudo yum install curl-devel expat-devel gettext-devel \ - openssl-devel zlib-devel + openssl-devel zlib-devel make autoconf $ sudo apt-get install libcurl4-gnutls-dev libexpat1-dev gettext \ - libz-dev libssl-dev + libz-dev libssl-dev make autoconf ////////////////////////// In order to be able to add the documentation in various formats (doc, html, info), these additional dependencies are required: @@ -160,7 +160,7 @@ It's generally a little clearer what the latest version is on the GitHub page, b ////////////////////////// 모든 게 준비되면 바로 최신 배포 버전을 가져온다. Kernel.org(https://www.kernel.org/pub/software/scm/git[])에서 내려받을 수도 있고 GitHub 미러(https://github.com/git/git/releases[])에서도 받을 수도 있다. -보통 GitHub 페이지에서 최신저번을 내려받는 것이 더 간단하지만 kernel.org에는 배포 시그너처가 있어서 내려받은 것을 검증할 수 있다. +보통 GitHub 페이지에서 최신 버전을 내려받는 것이 더 간단하지만 kernel.org에는 배포 시그너처가 있어서 내려받은 것을 검증할 수 있다. ////////////////////////// Then, compile and install: @@ -168,8 +168,8 @@ Then, compile and install: 그리고 컴파일하고 설치한다. [source,console] - $ tar -zxf git-1.9.1.tar.gz - $ cd git-1.9.1 + $ tar -zxf v2.5.0-rc3.tar.gz + $ cd git-2.5.0-rc3/ $ make configure $ ./configure --prefix=/usr $ make all doc info From e6c333b259c6e4986296c99ecc3cce8b65b476c1 Mon Sep 17 00:00:00 2001 From: mbc9news Date: Sat, 25 Jul 2015 17:53:13 +0900 Subject: [PATCH 4/4] chapter 10 --- book/10-git-internals/sections/refs.asc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/book/10-git-internals/sections/refs.asc b/book/10-git-internals/sections/refs.asc index 296071af..71b4a466 100644 --- a/book/10-git-internals/sections/refs.asc +++ b/book/10-git-internals/sections/refs.asc @@ -15,8 +15,8 @@ SHA-1 값을 날로 사용하기보다 쉬운 이름으로 된 포인터가 있 In Git, these are called ``references'' or ``refs''; you can find the files that contain the SHA-1 values in the `.git/refs` directory. In the current project, this directory contains no files, but it does contain a simple structure: ////////////////////////// -Git에서는 이런 것을 ''Refs`` 또는 ''Refs``라고 부른다. SHA-1 값이 든 파일은 `.git/refs` 디렉토리에 있다. -이 프로젝트에는 아직 Refs가 하나도 없고 단순한 구조의 디렉토리만 준비되어 있다. +Git에서는 이런 것을 ''references`` 또는 ''refs``라고 부른다. SHA-1 값이 든 파일은 `.git/refs` 디렉토리에 있다. +이 프로젝트에서는 `.git/refs` 디렉토리에 파일이 없고 단순한 구조만 있다. [source,console] ----