Skip to content

Commit

Permalink
Translate challenge-content-kr 3,4
Browse files Browse the repository at this point in the history
  • Loading branch information
wonny-log authored and nallwhy committed Sep 9, 2016
1 parent 34150d3 commit 928a2d2
Show file tree
Hide file tree
Showing 4 changed files with 88 additions and 84 deletions.
54 changes: 28 additions & 26 deletions challenge-content-kr/3_commit_to_it.html
@@ -1,61 +1,63 @@
<div id="challenge-desc" class="chal-goal blue-border border-box">
<p>Create a file in your new repository, add something to that file and commit that change with Git.</p>
<p>당신의 새 저장소(repository)에 파일을 만들어보세요. Git을 이용하여 파일을 추가하고(add) 변경사항들을 커밋(commit)하세요.</p>

</div>

<div class="chal-background light-blue solid-box">
<h2>Commits</h2>
<p>Commits are core to using Git. They are the moments in which you save and describe the work you've done. They are the ticks in the timeline of your project's history.</p>
<h2>커밋(commit)</h2>
<p>커밋은 Git을 사용하는 데 있어 가장 중요합니다. 커밋들은 당신이 작업했던 것들을 저장하고 설명하는 순간들입니다. 커밋들은 당신의 프로젝트 이력의 체크표입니다.</p>
</div>

<div class="chal-step blue-border border-box">
<h3>Create a New File</h3>
<p>Now that you've got a repository started let's add a file to it.</p>
<p>Open your text editor and create a new empty file. Now write a little bit of text, perhaps type "Hello!", and save the file as 'readme.txt' in the 'hello-world' folder you created in the last challenge.</p>
<h3>새 파일 만들기</h3>

<p>이제 당신은 저장소를 가지고 있습니다. 이 저장소에 파일을 추가해봅시다.</p>
<p>텍스트 편집기를 열고 새로운 빈 파일을 만드세요. "Hello!" 같은 텍스트를 적어보고 지난 챌린지에서 만들었던 'hello-world'폴더에 'readme.txt'라는 이름의 파일로 저장하세요.</p>
</div>

<div class="chal-step blue-border border-box">
<h3>Check Status + Add and Commit Changes</h3>
<p>Next check the <strong>status</strong> of your repository to find out if there have been changes. You know you have changed something, but does Git?</p>
<h3>상태(status) 확인하기 + 변경사항들을 추가하고(add) 커밋하기(commit)</h3>
<p>다음으로 변경사항이 있는지 아닌지를 알아보기 위해 당신의 저장소의 <strong>상태</strong> 를 확인해봅시다. 당신은 어떤 것들이 바뀌었는지 알고 있지만 Git도 알고 있을까요?</p>

<p>Make sure you're still within your 'hello-world' directory when you're running these commands. Use Git to see what changed in your repository:</p>
<p>이 명령어들을 실행할 때 'hello-world' 폴더 내에서 실행하고 있는지 확인하세요. 당신의 저장소에서 변경된 것들을 보기 위해 Git을 사용해봅시다:</p>

<p>First, check the status:</p>
<p>먼저, 상태를 확인하세요:</p>
<p><code class="shell">git status</code></p>
<p>Git should tell you that a file has been added.</p>
<p>Git은 당신에게 추가된 파일을 알려줄 것입니다.</p>

<p>Then <strong>add</strong> the file you just created so that it becomes a part of the changes you will <strong>commit</strong> (aka save) with Git:</p>
<p>그 다음에 Git을 사용하여 <strong>커밋</strong> (aka save)할 변경사항들의 일부로 만들기 위해, 방금 만든 파일을 <strong>추가</strong> 해주세요:</p>
<p><code class="shell">git add readme.txt</code></p>

<p>Finally, <strong>commit</strong> those changes to the repository's history with a
short (m) message describing the updates.</p>
<p>마지막으로, 업데이트된 내용에 대해 설명한 짧은 메시지를 포함하여 변경사항들을 저장소의 이력에 <strong>커밋</strong>하세요:</p>
<p><code class="shell">git commit -m "Created readme"</code></p>
</div>

<div class="chal-step blue-border border-box">
<h3>Step: Make More Changes</h3>
<p>Now add another line to 'readme.txt' and save the file again.</p>
<h3>더 많은 변경사항 만들기</h3>
<p>'readme.txt'에 다른 라인을 추가하고 파일을 다시 저장하세요.</p>

<p>터미널에서 지금의 파일과 마지막 커밋 간의 <strong>차이점(diff)</strong> 을 볼 수 있습니다.</p>

<p>In terminal, you can view the <strong>diff</strong>erence between the file now and how it was at your last commit. </p>
<p>Git에서 <strong>차이점(diff)</strong> 보기:

<p>Tell Git to show you the <strong>diff</strong>:</p>
<p><code class="shell">git diff</code></p>

<p>Now with what you just learned above, commit this latest change.</p>
<p>이제 지금 배운 것들들을 이용하여 최종 변경사항을 커밋해보세요.</p>
</div>

{{{ verify_directory_button }}}

<div class="chal-tip grey-border border-box">
<ul class="no-list-style">
<li><strong>Check status of changes to a repository</strong></li>
<li><strong>저장소에서 변경사항의 상태 확인하기</strong></li>
<li><code class="shell">git status</code></li>
<li><strong>View changes to files</strong></li>
<li><strong>파일들의 변경사항 보기</strong></li>
<li><code class="shell">git diff</code></li>
<li><strong>Add a file's changes to be committed</strong></li>
<li><code class="shell">git add &#60;FILENAME&#62;</code></li>
<li><strong>To add all files changes</strong></li>
<li><strong>커밋하려는 파일의 변경사항을 추가하기</strong></li>
<li><code class="shell">git add &#60;파일이름&#62;</code></li>
<li><strong>모든 파일들의 변경사항을 추가하기</strong></li>
<li><code class="shell">git add .</code></li>
<li><strong>To commit (aka save) the changes you've added with a short message describing the changes</strong></li>
<li><code class="shell">git commit -m "your commit message"</code></li>
<li><strong>변경사항을 설명한 짧은 메시지를 포함하여 변경사항을 커밋하기(aka save)</strong></li>
<li><code class="shell">git commit -m "&#60;커밋 메시지&#62;"</code></li>
<ul>
</div>
30 changes: 15 additions & 15 deletions challenge-content-kr/4_githubbin.html
@@ -1,43 +1,43 @@
<div id="challenge-desc" class="chal-goal blue-border border-box">
<p>Create a GitHub account and add your username to your Git config.</p>
<p>Github 계정 생성 후 Git 환경설정(config)에 유저이름(username) 추가하세요.</p>
</div>

<div class="chal-background light-blue solid-box">
<h2>Working Better, Together</h2>
<h2>함께 더 쉽고 편하게 작업하기</h2>

<p>The repository you've created so far is just on your computer, which is handy, but makes it pretty hard to share and work on with others. No worries, that's what GitHub is for!</p>
<p>지금까지 만든 저장소는 컴퓨터에 있습니다. 이 저장소를 다른 사람들과 공유하고 함께 일하기는 꽤 어렵습니다. 걱정하지 마세요. GitHub이 이 일들을 쉽게 할 수 있도록 해줍니다!</p>

<p>GitHub is a website that allows people everywhere to upload what they're working on with Git so that everyone can easily work together on the same project. GitHub which acts as the central repository for you and everyone else to share. You push your changes to it and pull down changes from others.</p>
<p>GitHub은 모든 사람들이 동일한 프로젝트를 더 쉽게 작업할 수 있도록, 작업한 것들을 Git을 이용해서 어디서든 업로드 할 수 있게 해주는 웹사이트입니다. GitHub은 모든 사람들이 공유하는 것들의 중심 저장소 역할을 합니다. GitHub에 변경사항들을 푸시(push)(aka 업로드)하고 다른 사람들로부터 풀(pull)(aka 다운로드)해옵니다.</p>
</div>

<div class="chal-step blue-border border-box">
<h3>Create a GitHub Account</h3>
<h3>GitHub 계정 만들기</h3>

<p>Visit <a href="http://github.com" target="_blank">github.com</a> and sign up for a free account. <strong>High five, welcome!</strong></p>
<p><a href="http://github.com" target="_blank">github.com</a>에 가서 회원가입을 하세요. <strong>하이파이브, 환영합니다!</strong></p>
</div>

<div class="chal-step blue-border border-box">
<h3>Add GitHub username to Git</h3>
<p>Add your GitHub username to your Git configuration. We'll do this just for the sake of Git-it; it makes it easier to verify the upcoming challenges. Save it exactly as you created it on GitHub and <strong>capitalize where capitalized</strong>. Note, you don't need to enter the "&#60;" and "&#62;".</p>
<h3>GitHub 유저이름을 Git에 추가하기</h3>
<p>GitHub 유저이름을 Git 환경설정에 추가해보세요. 우리는 Git-it을 사용하기 위해 다음 작업을 할 것입니다; 이것은 앞으로의 챌린지를 확인하기 더 편하게 해줍니다. GitHub에서 만든 것들을 <strong>대문자면 대문자로</strong> 정확하게 저장하세요. "&#60;""&#62;"은 넣지마세요.</p>

<p>Add your GitHub username to your Git configuration:</p>
<p>GitHub 유저이름을 Git 환경설정에 추가하세요:</p>
<code class="shell">git config --global user.username &#60;USerNamE&#62;</code>

<p>You can double check what you have set in your Git config by typing:</p>
<p>Git 환경설정에서 어떤 것을 입력했는지 다시 확인 할 수 있습니다:</p>
<code>git config --global user.username</code>
</div>

{{{ verify_button }}}

<div class="chal-tip grey-border border-box">
<p>Make sure you type "<strong>user.username</strong>" above and not "user.name", which would override the name you set in the first challenge and leave you with no username property! If you found you did that, it's ok, just repeat the step in the first challenge to add your name and then complete the step above.</p>
<p>위에서 "user.name"이 아닌 <strong>user.username</strong>"를 정확하게 입력하세요. "user.name"으로 입력한다면 첫번째 챌린지에서 설정한 이름을 덮어쓰고 우리가 설정하려고 한 유저이름 속성은 그대로 비어있습니다! 만약 user.name으로 입력한 것을 발견해도 괜찮습니다. 그럴 경우 이름을 입력하기 위해 첫 번째 챌린지의 스탭들과 지금 화면의 위의 스탭들을 다시 반복해서 완료하면 됩니다.</p>
</div>

<div class="chal-no-pass grey-border border-box">
<h4>GitHub & Git config usernames do not match</h4>
<h4>GitHub와 Git 환경설정의 유저이름이 일치하지 않을 때</h4>

<p>A common error is not having your GitHub username match the case of the one you set with <code>git config</code>. For instance, 'JLord' isn't the same as 'jlord'</p>
<p>To change your username set with Git, just do the same command you did earlier, but with the correct capitalization:</p>
<p>일반적인 에러는 GitHub 유저이름이 <code>git config</code> 에 설정한 이름과 일치하지 않는 것입니다. 'JLord'와 'jlord'는 같지 않습니다.</p>
<p>Git에 설정한 유저이름을 바꾸기 위해서는 이전에 실행한 명령어를 실행하면 되지만 대문자인 경우에는 대문자로 정확히 입력하세요:
<p><code class="shell">git config --global user.username &#60;USerNamE&#62;</code></p>
<p>When you've made your updates, verify again!</p>
<p>수정하였으면 다시 verify를 클릭하여 확인해보세요!</p>
</div>

0 comments on commit 928a2d2

Please sign in to comment.