<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>즐거운 코딩 생활 ( funyphp ) &amp;gt; community &amp;gt; git</title>
<link>https://www.funyphp.com/bbs/board.php?bo_table=git</link>
<language>ko</language>
<description>git (2021-03-02 03:27:52)</description>

<item>
<title>[ git ] git 사용 설정</title>
<link>https://www.funyphp.com/bbs/board.php?bo_table=git&amp;amp;wr_id=1</link>
<description><![CDATA[<p>git 유용한 툴 </p>
<p>Source Tree, GitKraken, cmder</p>
<p><br /></p>
<p>git --version</p>
<p>git config --list =&gt; 설정확인</p>
<p>git config --global -e =&gt; 에디터에서 설정확인</p>
<p>code . =&gt; vscode 연결</p>
<p>git config --global core.editor "code"  =&gt; vscode로 설정열기</p>
<p>git config --global -e =&gt; 설정파일열기(vscode로 열림)</p>
<p>git config --global core.editor "code --wait" =&gt;vscode가 열려있는동안 터미널 대기상태</p>
<p>git config --global -e =&gt; 설정파일열리(vscode로) 연결되면 터미널 대기상태</p>
<p><br /></p>
<p>사용자 정보 저장</p>
<p>git config --global user.name "git에서 사용하는 아이디"</p>
<p>git config --global user.email "git에서 사용하는 이메일"</p>
<p> </p>
<p>등록확인</p>
<p>git config user.name</p>
<p>git config user.email</p>
<p><br /></p>
<p>운영체제에서 새로운 줄바꿈을 할 때 </p>
<p>윈도우는 text \r\n line feed</p>
<p>맥은 text \n line feed</p>
<p>git config --global core.autocrlf true =&gt; 윈도우 사용자</p>
<p>git config --global core.autocrlf input =&gt;맥사용자</p>
<p><br /></p>
<p>명령어 확인</p>
<p>git config --h</p>
<p><br /></p>
<p>git Workflow</p>
<p>working directory --&gt; staging area --&gt;  .git directory</p>
<p> </p>
<p>git 폴더지정</p>
<p>git init</p>
<p> </p>
<p>git 원격지 등록하기</p>
<p>git remote add origin http원격지주소</p>
<p> </p>
<p>git 파일 적용시키기( add . 에서 .은 해당폴더의 모든 파일 )</p>
<p>git add .</p>
<p> </p>
<p>git 커밋하기( git commit -m(메스지) "메시지내용"</p>
<p>git commit -m "내용"</p>
<p> </p>
<p>git 파일 원격지로 보내기(원격지의 마스터로 파일 업로드)</p>
<p>git push origin master</p>]]></description>
<dc:creator>웹지기</dc:creator>
<dc:date>2021-03-02T03:27:52+09:00</dc:date>
</item>

</channel>
</rss>
