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
2 changes: 1 addition & 1 deletion book/05-distributed-git/sections/contributing.asc
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ This approach also makes it easier to pull out or revert one of the changesets i
그리고 각 커밋은 논리적으로 구분되는 Changeset이다.
최대한 수정사항을 한 주제로 요약할 수 있어야 하고 여러 가지 이슈에 대한 수정사항을 하나의 커밋에 담지 않아야 한다.
여러 가지 이슈를 한꺼번에 수정했다고 하더라도 Staging Area을 이용하여 한 커밋에 이슈 하나만 담기도록 한다. 작업 내용을 분할하고, 각 커밋마다 적절한 메시지를 작성한다.
같은 파일의 다른 부분을 수정하는 경우에는 `git add -patch` 명령을 써서 한 부분씩 나누어 Staging Area에 저장해야 한다(관련 내용은 <<_interactive_staging> 에서 다룬다).
같은 파일의 다른 부분을 수정하는 경우에는 `git add -patch` 명령을 써서 한 부분씩 나누어 Staging Area에 저장해야 한다(관련 내용은 <<_interactive_staging>> 에서 다룬다).
결과적으로 최종 프로젝트의 모습은 한 번에 커밋을 하든 다섯 번에 나누어 커밋을 하든 똑같다.
하지만, 여러 번 나누어 커밋하는 것이 다른 동료가 수정한 부분을 확인할 때나 각 커밋의 시점으로 복원해서 검토할 때 이해하기 훨씬 쉽다.
<<_rewriting_history>> 에서 이미 저장된 커밋을 다시 수정하거나 파일을 단계적으로 Staging Area에 저장하는 방법을 살펴본다. 다양한 도구를 이용해서 간단하고 이해하기 쉬운 커밋을 쌓아가야 한다.
Expand Down
2 changes: 1 addition & 1 deletion book/A-git-in-other-environments/sections/visualstudio.asc
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Home 뷰는 일종의 Git 센터다. 코드를 작성할 때는 "Changes" 뷰에
image::images/vs-2.png[The Home view for a Git repository in Visual Studio.]
//////////////////////////
.Visual Studio의 Git 센터 "Home" 뷰.
image::images/vs-2.png[Visual Studio의 Git 센터 "Home" 뷰.]
image::images/vs-2.png[Visual Studio의 Git 센터 Home 뷰.]

//////////////////////////
Visual Studio now has a powerful task-focused UI for Git.
Expand Down
2 changes: 1 addition & 1 deletion book/C-git-commands/1-git-commands.asc
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ In <<_delete_branches>> we use the `--delete` flag to delete a branch on the ser
//////////////////////////
<<pushing_remotes>>에서 `git push` 명령으로
브랜치를 원격 저장소에 Push 하는 방법을 설명한다.
조금 깊게 브랜치를 하나씩 골라서 Push 하는 방법은 <<_pushing_branches>>에서 설명한다. 자동으로 Push 하도록 트래킹 브랜치를 설정하는 방법은 <<_tracking branches>>에서 설명한다.
조금 깊게 브랜치를 하나씩 골라서 Push 하는 방법은 <<_pushing_branches>>에서 설명한다. 자동으로 Push 하도록 트래킹 브랜치를 설정하는 방법은 <<_tracking_branches>>에서 설명한다.
`git push --delete` 명령으로 원격 서버의 브랜치를 삭제하는 방법은 <<_delete_branches>>에서 설명한다.

//////////////////////////
Expand Down