<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>개발 보관 - 하우인포-IT·테크</title>
	<atom:link href="https://howinfo.kr/tag/%EA%B0%9C%EB%B0%9C/feed/" rel="self" type="application/rss+xml" />
	<link>https://howinfo.kr/tag/개발/</link>
	<description>IT·AI 자동화 &#38; 인프라 전문 블로그 (하우인포)</description>
	<lastBuildDate>Sun, 22 Feb 2026 10:29:28 +0000</lastBuildDate>
	<language>ko-KR</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.3</generator>

<image>
	<url>https://howinfo.kr/wp-content/uploads/2026/02/cropped-ChatGPT-Image-2026년-2월-12일-오후-05_39_40-32x32.png</url>
	<title>개발 보관 - 하우인포-IT·테크</title>
	<link>https://howinfo.kr/tag/개발/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Git 완전 초보 가이드: 다운로드부터 “첫 커밋”까지 (실전 경험 버전)</title>
		<link>https://howinfo.kr/git-%ec%99%84%ec%a0%84-%ec%b4%88%eb%b3%b4-%ea%b0%80%ec%9d%b4%eb%93%9c-%eb%8b%a4%ec%9a%b4%eb%a1%9c%eb%93%9c%eb%b6%80%ed%84%b0-%ec%b2%ab-%ec%bb%a4%eb%b0%8b%ea%b9%8c%ec%a7%80/</link>
					<comments>https://howinfo.kr/git-%ec%99%84%ec%a0%84-%ec%b4%88%eb%b3%b4-%ea%b0%80%ec%9d%b4%eb%93%9c-%eb%8b%a4%ec%9a%b4%eb%a1%9c%eb%93%9c%eb%b6%80%ed%84%b0-%ec%b2%ab-%ec%bb%a4%eb%b0%8b%ea%b9%8c%ec%a7%80/#respond</comments>
		
		<dc:creator><![CDATA[hong]]></dc:creator>
		<pubDate>Sun, 22 Feb 2026 09:17:23 +0000</pubDate>
				<category><![CDATA[서버·인프라]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[merge]]></category>
		<category><![CDATA[pull]]></category>
		<category><![CDATA[push]]></category>
		<category><![CDATA[개발]]></category>
		<category><![CDATA[개발저장하기]]></category>
		<category><![CDATA[개발환경설정]]></category>
		<category><![CDATA[버전관리]]></category>
		<category><![CDATA[브랜치]]></category>
		<category><![CDATA[소스관리]]></category>
		<category><![CDATA[윈도우즈]]></category>
		<category><![CDATA[초보개발자]]></category>
		<category><![CDATA[커밋]]></category>
		<category><![CDATA[협업]]></category>
		<category><![CDATA[형상관리]]></category>
		<guid isPermaLink="false">https://howinfo.kr/?p=1955</guid>

					<description><![CDATA[<p>Git이 뭐예요? (초보가 제일 헷갈리는 포인트) 즉, 1) 다운로드는 “공식”에서만 (중요) 초보일수록 검색해서 아무 사이트에서 받다가 광고/번들 설치로 꼬이는 경우가...</p>
<p>게시물 <a href="https://howinfo.kr/git-%ec%99%84%ec%a0%84-%ec%b4%88%eb%b3%b4-%ea%b0%80%ec%9d%b4%eb%93%9c-%eb%8b%a4%ec%9a%b4%eb%a1%9c%eb%93%9c%eb%b6%80%ed%84%b0-%ec%b2%ab-%ec%bb%a4%eb%b0%8b%ea%b9%8c%ec%a7%80/">Git 완전 초보 가이드: 다운로드부터 “첫 커밋”까지 (실전 경험 버전)</a>이 <a href="https://howinfo.kr">하우인포-IT·테크</a>에 처음 등장했습니다.</p>
]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading">Git이 뭐예요? (초보가 제일 헷갈리는 포인트)</h2>



<figure class="wp-block-image size-large is-resized"><img fetchpriority="high" decoding="async" width="1024" height="702" src="https://howinfo.kr/wp-content/uploads/2026/02/git06-1024x702.png" alt="" class="wp-image-1956" style="aspect-ratio:1.4587290389102947;width:562px;height:auto" srcset="https://howinfo.kr/wp-content/uploads/2026/02/git06-1024x702.png 1024w, https://howinfo.kr/wp-content/uploads/2026/02/git06-300x206.png 300w, https://howinfo.kr/wp-content/uploads/2026/02/git06-768x526.png 768w, https://howinfo.kr/wp-content/uploads/2026/02/git06.png 1081w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<ul class="wp-block-list">
<li>Git = <strong>내 PC에서</strong> “코드 변경 이력”을 저장하는 도구</li>



<li>GitHub/GitLab = <strong>인터넷(원격)</strong> 에 저장해두는 “저장소 서비스”</li>
</ul>



<p>즉,</p>



<ul class="wp-block-list">
<li><strong>Git만 설치해도</strong> 내 컴퓨터에서 버전관리 가능</li>



<li><strong>GitHub까지 연결하면</strong> 백업/협업/다른 PC 동기화까지 가능</li>
</ul>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h1 class="wp-block-heading">1) 다운로드는 “공식”에서만 (중요)</h1>



<p>초보일수록 검색해서 아무 사이트에서 받다가 광고/번들 설치로 꼬이는 경우가 있어요.<br>아래 2곳이 대표적인 <strong>공식 루트</strong>입니다.</p>



<ul class="wp-block-list">
<li>Git 공식 설치 페이지(운영체제 선택): Git SCM Install</li>



<li>Windows는 Git for Windows(공식 안내/다운로드 링크 제공): Git SCM Windows Install</li>
</ul>



<p>추가로, Windows 요구사항(지원 OS)도 공식에 명시돼 있어요.</p>



<figure class="wp-block-image size-full"><img decoding="async" width="590" height="457" src="https://howinfo.kr/wp-content/uploads/2026/02/git08.png" alt="" class="wp-image-1957" srcset="https://howinfo.kr/wp-content/uploads/2026/02/git08.png 590w, https://howinfo.kr/wp-content/uploads/2026/02/git08-300x232.png 300w" sizes="(max-width: 590px) 100vw, 590px" /></figure>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h1 class="wp-block-heading">2) Windows 설치 (가장 많이 쓰는 케이스)</h1>



<h2 class="wp-block-heading">2-1) 다운로드</h2>



<ol class="wp-block-list">
<li>Git 공식 Windows 설치 페이지로 이동</li>



<li>“latest x64” 설치 파일을 다운로드 (대부분 PC는 x64)</li>
</ol>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p>참고: Git for Windows는 <strong>Windows 8.1 이상</strong>이 권장/지원 범위로 안내됩니다.</p>
</blockquote>



<h2 class="wp-block-heading">2-2) 설치하면서 뭐 선택해야 해요? (초보 추천 “안전 세팅”)</h2>



<p>설치 옵션이 많아서 처음엔 무조건 헷갈립니다.<br>저는 처음에 아무거나 눌렀다가 <strong>줄바꿈 문제</strong>(CRLF/LF)로 고생했어요. 아래가 가장 무난했습니다.</p>



<p>설치 화면에서 핵심만 체크:</p>



<h3 class="wp-block-heading">(1) PATH 옵션</h3>



<ul class="wp-block-list">
<li>✅ <strong>Git from the command line and also from 3rd-party software</strong><br>→ CMD/PowerShell/VS Code에서 git 명령이 바로 먹게 됨</li>
</ul>



<h3 class="wp-block-heading">(2) Line endings(줄바꿈)</h3>



<ul class="wp-block-list">
<li>✅ <strong>Checkout Windows-style, commit Unix-style</strong><br>→ 윈도우에서 줄바꿈 지뢰 줄이기</li>
</ul>



<h3 class="wp-block-heading">(3) 기본 터미널</h3>



<ul class="wp-block-list">
<li>“Git Bash”는 기본 포함. 초보는 <strong>Git Bash</strong>로 시작하는 게 편합니다.</li>
</ul>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p>여기까지 하고 “Next → Install” 쭉 가면 됩니다.<br>(나머지는 기본값으로도 실무에 문제 거의 없었어요)</p>
</blockquote>



<figure class="wp-block-image size-full"><img decoding="async" width="591" height="459" src="https://howinfo.kr/wp-content/uploads/2026/02/git09.png" alt="" class="wp-image-1958" srcset="https://howinfo.kr/wp-content/uploads/2026/02/git09.png 591w, https://howinfo.kr/wp-content/uploads/2026/02/git09-300x233.png 300w" sizes="(max-width: 591px) 100vw, 591px" /></figure>



<h2 class="wp-block-heading">2-3) 설치 확인(이게 제일 중요)</h2>



<p>설치 끝나면 <strong>Git Bash</strong> 열고 아래 입력:</p>



<pre class="wp-block-preformatted">git --version</pre>



<p><code>git version 2.xx.x</code> 이런 식으로 나오면 설치 성공입니다.<br>(안 나오면 PATH 옵션이 잘못된 경우가 많아요)</p>



<figure class="wp-block-image size-full is-resized"><img loading="lazy" decoding="async" width="881" height="597" src="https://howinfo.kr/wp-content/uploads/2026/02/git11.png" alt="" class="wp-image-1959" style="aspect-ratio:1.4757473441488924;width:669px;height:auto" srcset="https://howinfo.kr/wp-content/uploads/2026/02/git11.png 881w, https://howinfo.kr/wp-content/uploads/2026/02/git11-300x203.png 300w, https://howinfo.kr/wp-content/uploads/2026/02/git11-768x520.png 768w" sizes="auto, (max-width: 881px) 100vw, 881px" /></figure>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h1 class="wp-block-heading">3) macOS 설치 (Homebrew가 제일 편함)</h1>



<p>Git 공식 문서에서도 macOS에서 Homebrew 설치를 안내합니다.</p>



<h2 class="wp-block-heading">3-1) Homebrew가 없다면</h2>



<p>Homebrew 공식 설치 문서:</p>



<h2 class="wp-block-heading">3-2) Git 설치</h2>



<pre class="wp-block-preformatted">brew install git<br>git --version</pre>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p>경험팁: macOS 기본 Git이 “있긴 한데 오래된 버전”인 경우가 있어서, 저는 brew로 깔고 업데이트 관리하는 게 제일 편했습니다.</p>
</blockquote>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h1 class="wp-block-heading">4) Ubuntu/Linux 설치 (apt로 간단)</h1>



<p>Ubuntu 문서에서도 Git을 다루며, 필요하면 문서 패키지(<code>git-doc</code>)도 설치할 수 있다고 안내합니다.</p>



<pre class="wp-block-preformatted">sudo apt update<br>sudo apt install -y git<br>git --version</pre>



<p>(문서까지 설치하고 싶으면)</p>



<pre class="wp-block-preformatted">sudo apt install -y git-doc</pre>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h1 class="wp-block-heading">5) 설치 후 “딱 2분” 필수 설정 (안 하면 커밋에 이름이 이상하게 찍힘)</h1>



<p>아래 2개는 무조건 해두세요.</p>



<pre class="wp-block-preformatted">git config --global user.name "name"<br>git config --global user.email "you@example.com"</pre>



<p>설정 확인:</p>



<pre class="wp-block-preformatted">git config --global --list</pre>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p>경험상, 이거 안 해두면 나중에 커밋 작성자가 “PC 계정명”으로 찍히거나, 프로젝트마다 설정 꼬여서 다시 고치게 됩니다.</p>
</blockquote>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="580" height="554" src="https://howinfo.kr/wp-content/uploads/2026/02/git12.png" alt="" class="wp-image-1960" srcset="https://howinfo.kr/wp-content/uploads/2026/02/git12.png 580w, https://howinfo.kr/wp-content/uploads/2026/02/git12-300x287.png 300w" sizes="auto, (max-width: 580px) 100vw, 580px" /></figure>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h1 class="wp-block-heading">6) 이제 진짜 시작: “내 폴더를 Git으로 관리하기”</h1>



<h2 class="wp-block-heading">6-1) 새 폴더 만들고 Git 시작</h2>



<pre class="wp-block-preformatted">mkdir my-project<br>cd my-project<br>git init</pre>



<p><code>git init</code>은 “이 폴더를 Git 저장소로 만들겠다”라는 뜻입니다.</p>



<h2 class="wp-block-heading">6-2) 파일 하나 만들어보고 첫 커밋</h2>



<p>예: <code>README.md</code>를 만든다고 치면</p>



<pre class="wp-block-preformatted">echo "# my-project" &gt; README.md<br>git status</pre>



<h3 class="wp-block-heading">여기서 초보가 제일 헷갈리는 개념: “스테이징”</h3>



<p>Git은 커밋 전에 <strong>무엇을 커밋할지 후보에 올리는 단계</strong>가 있어요.</p>



<ol class="wp-block-list">
<li>스테이징(커밋 후보로 올리기)</li>
</ol>



<pre class="wp-block-preformatted">git add .</pre>



<ol start="2" class="wp-block-list">
<li>커밋(스냅샷 저장)</li>
</ol>



<pre class="wp-block-preformatted">git commit -m "chore: first commit"</pre>



<ol start="3" class="wp-block-list">
<li>로그 확인</li>
</ol>



<pre class="wp-block-preformatted">git log --oneline</pre>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h1 class="wp-block-heading">7) 매일 쓰는 “초보 루틴 3종” (이 순서만 외우면 됨)</h1>



<p>제가 정착한 순서가 이거였어요:</p>



<ol class="wp-block-list">
<li>지금 상태 보기</li>
</ol>



<pre class="wp-block-preformatted">git status</pre>



<ol start="2" class="wp-block-list">
<li>뭐가 바뀌었는지 보기</li>
</ol>



<pre class="wp-block-preformatted">git diff</pre>



<ol start="3" class="wp-block-list">
<li>올리고( add ) 저장( commit )</li>
</ol>



<pre class="wp-block-preformatted">git add .<br>git commit -m "feat: update something"</pre>



<figure class="wp-block-image size-full is-resized"><img loading="lazy" decoding="async" width="778" height="839" src="https://howinfo.kr/wp-content/uploads/2026/02/git14.png" alt="" class="wp-image-1961" style="width:650px;height:auto" srcset="https://howinfo.kr/wp-content/uploads/2026/02/git14.png 778w, https://howinfo.kr/wp-content/uploads/2026/02/git14-278x300.png 278w, https://howinfo.kr/wp-content/uploads/2026/02/git14-768x828.png 768w" sizes="auto, (max-width: 778px) 100vw, 778px" /></figure>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h1 class="wp-block-heading">8) 실수했을 때 복구(초보 필수 3개)</h1>



<p>실무/개인 모두 이 3개가 가장 많이 씁니다.</p>



<h2 class="wp-block-heading">(1) 커밋 전 변경을 다 버리고 싶다 (되돌리기)</h2>



<pre class="wp-block-preformatted">git restore .</pre>



<h2 class="wp-block-heading">(2) add를 잘못했다(스테이징 취소)</h2>



<pre class="wp-block-preformatted">git restore --staged .</pre>



<h2 class="wp-block-heading">(3) 방금 커밋 메시지를 고치고 싶다</h2>



<pre class="wp-block-preformatted">git commit --amend -m "fix: correct message"</pre>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h1 class="wp-block-heading">9) 여기까지가 “Git만으로” 할 수 있는 것</h1>



<ul class="wp-block-list">
<li>내 PC에서 버전관리 ✅</li>



<li>변경이력/복구 ✅</li>
</ul>



<p>다음 단계는 <strong>GitHub(원격 저장소)</strong> 연결인데,<br>초보는 여기서 <strong>로그인(토큰)</strong>, <strong>push/pull</strong>, <strong>브랜치</strong>가 같이 나오면서 갑자기 어려워집니다.</p>



<p></p>
<p>게시물 <a href="https://howinfo.kr/git-%ec%99%84%ec%a0%84-%ec%b4%88%eb%b3%b4-%ea%b0%80%ec%9d%b4%eb%93%9c-%eb%8b%a4%ec%9a%b4%eb%a1%9c%eb%93%9c%eb%b6%80%ed%84%b0-%ec%b2%ab-%ec%bb%a4%eb%b0%8b%ea%b9%8c%ec%a7%80/">Git 완전 초보 가이드: 다운로드부터 “첫 커밋”까지 (실전 경험 버전)</a>이 <a href="https://howinfo.kr">하우인포-IT·테크</a>에 처음 등장했습니다.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://howinfo.kr/git-%ec%99%84%ec%a0%84-%ec%b4%88%eb%b3%b4-%ea%b0%80%ec%9d%b4%eb%93%9c-%eb%8b%a4%ec%9a%b4%eb%a1%9c%eb%93%9c%eb%b6%80%ed%84%b0-%ec%b2%ab-%ec%bb%a4%eb%b0%8b%ea%b9%8c%ec%a7%80/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
