성태의 닷넷 이야기
홈 주인
모아 놓은 자료
프로그래밍
질문/답변
사용자 관리
사용자
메뉴
아티클
외부 아티클
유용한 코드
온라인 기능
MathJax 입력기
최근 덧글
[정성태] Java - How to use the Foreign Funct...
[정성태] 제가 큰 실수를 했군요. ^^; Delegate를 통한 Bein...
[정성태] Working with Rust Libraries from C#...
[정성태] Detecting blocking calls using asyn...
[정성태] 아쉽게도, 커뮤니티는 아니고 개인 블로그입니다. ^^
[정성태] 질문이 잘 이해가 안 됩니다. 우선, 해당 소스코드에서 ILis...
[양승조
] var대신 dinamic으로 선언해서 해결은 했습니다. 맞는 해...
[양승조
] 또 막혔습니다. ㅠㅠ var list = props[i].Ge...
[양승조
] 아. 감사합니다. 어제는 안됐던것 같은데....정신을 차려야겠네...
[정성태] "props[i].GetValue(props[i])" 코드에서 ...
글쓰기
제목
이름
암호
전자우편
HTML
홈페이지
유형
제니퍼 .NET
닷넷
COM 개체 관련
스크립트
VC++
VS.NET IDE
Windows
Team Foundation Server
디버깅 기술
오류 유형
개발 환경 구성
웹
기타
Linux
Java
DDK
Math
Phone
Graphics
사물인터넷
부모글 보이기/감추기
내용
<div style='display: inline'> <h1 style='font-family: Malgun Gothic, Consolas; font-size: 20pt; color: #006699; text-align: center; font-weight: bold'>Visual Studio를 위한 Git 환경 설정</h1> <p> 아래의 글에 좋은 정보가 공개되었군요. ^^<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > Visual Studio 2010 with GIT ; <a target='tab' href='http://i-ruru.com/entry/Visual-Studio-2010-with-GIT'>http://i-ruru.com/entry/Visual-Studio-2010-with-GIT</a> </pre> <br /> 위의 글에 따라, 우선 "Git for Windows"를 설치하고,<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > Welcome to the home page of Git for Windows ; <a target='tab' href='http://msysgit.github.io/'>http://msysgit.github.io/</a> </pre> <br /> TortoiseGit도 설치해 줍니다.<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > tortoisegit ; <a target='tab' href='http://code.google.com/p/tortoisegit/wiki/Download?tm=2'>http://code.google.com/p/tortoisegit/wiki/Download?tm=2</a> for 64-bit OS ; <a target='tab' href='http://tortoisegit.googlecode.com/files/TortoiseGit-1.8.5.0-64bit.msi'>http://tortoisegit.googlecode.com/files/TortoiseGit-1.8.5.0-64bit.msi</a> </pre> <br /> 마지막으로 "Git Source Control Provider" 확장을 Visual Studio에 설치합니다. (아쉽지만, Visual Studio Express 버전에는 설치되지 않습니다.)<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > Visual Studio Extensions - Git Source Control Provider (VS2010, VS2012) ; <a target='tab' href='http://visualstudiogallery.msdn.microsoft.com/63a7e40d-4d71-4fbb-a23b-d262124b8f4c '>http://visualstudiogallery.msdn.microsoft.com/63a7e40d-4d71-4fbb-a23b-d262124b8f4c </a> </pre> <br /> 구체적인 설치 과정에 대해서는 다음의 글을 참고하셔도 되지만,<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > Getting Started With Git and TortoiseGit on Windows ; <a target='tab' href='http://robertgreiner.com/2010/02/getting-started-with-git-and-tortoisegit-on-windows/'>http://robertgreiner.com/2010/02/getting-started-with-git-and-tortoisegit-on-windows/</a> </pre> <br /> 제 경우에는 모든 설정을 기본값으로 두고 설치를 완료했습니다.<br /> <br /> <hr style='width: 50%' /><br /> <br /> 이제 간단한 설정 과정을 거칩니다. "Tools" 메뉴의 "Options"에서 "Source Control" 선택을 Git으로 하고,<br /> <br /> <img onclick='toggle_img(this)' class='imgView' alt='vs_git_1.png' src='/SysWebRes/bbs/vs_git_1.png' /><br /> <br /> "Git Source Control Provider Options" 영역도 다음과 같이 설정해 줍니다.<br /> <br /> <img onclick='toggle_img(this)' class='imgView' alt='vs_git_2.png' src='/SysWebRes/bbs/vs_git_2.png' /><br /> <br /> 여기까지의 내용은 사실 "<a target='tab' href='http://i-ruru.com/entry/Visual-Studio-2010-with-GIT'>Visual Studio 2010 with GIT</a>" 글의 내용과 거의 같습니다. 단지 제 블로그에도 올리고 싶어서 ^^ 그대로 글을 따라하면서 정리해 보았습니다.<br /> <br /> 이제 git config에 해당하는 설정과 ssh 키 설정하는 방법을 볼 텐데요. 이에 대해서는 다음의 글에서 자세하게 설명하고 있습니다.<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > Setting Up Git on Windows in Four Easy Steps ; <a target='tab' href='http://blog.assembla.com/assemblablog/tabid/12618/bid/77264/Setting-Up-Git-on-Windows-in-Four-Easy-Steps.aspx'>http://blog.assembla.com/assemblablog/tabid/12618/bid/77264/Setting-Up-Git-on-Windows-in-Four-Easy-Steps.aspx</a> </pre> <br /> 위의 글에 따라, 탐색기에 플러그-인 된 TortoiseGit 메뉴를 이용해 "Settings" 항목을 선택하고,<br /> <br /> <img alt='vs_git_3.png' src='/SysWebRes/bbs/vs_git_3.png' /><br /> <br /> "Git" 범주에서 "Name", "Email" 항목을 각각 채웁니다.<br /> <br /> <img alt='vs_git_4.png' src='/SysWebRes/bbs/vs_git_4.png' /><br /> <br /> 그다음 SSH 키를 생성할 텐데요. 사실 로컬 git 저장소만 사용한다면 이 작업은 필요없습니다. 단지 github 등의 원격 저장소를 사용한다면 SSH 키 설정을 지금 미리 해두는 것이 좋겠지요. ^^ <br /> <br /> "시작" 메뉴로부터 "TortoiseGit" 범주의 "Puttygen"을 실행시킨 후, "Generate" 버튼을 누릅니다. 그럼, 키 생성을 위한 랜덤 요소를 부여하기 위해 마우스를 폼 위에서 무작위로 움직여 줍니다.<br /> <br /> <img alt='vs_git_5.png' src='/SysWebRes/bbs/vs_git_5.png' /><br /> <br /> 마우스 움직임이 완료되면, 다음과 같이 키가 생성됩니다.<br /> <br /> <img alt='vs_git_6.png' src='/SysWebRes/bbs/vs_git_6.png' /><br /> <br /> 키 영역에서 마우스 우측 버튼을 눌러 "Select All" 메뉴로 전체 텍스트를 선택한 다음 마찬가지로 "Copy" 메뉴로 클립보드에 공개키 내용을 복사합니다. (조금있다 재사용할 것입니다.)<br /> <br /> 이제 위의 화면에서 "Key passphrase"와 "Confirm passphrase"에 여러분들만이 기억할 수 있는 암호 문구를 입력하고 "Save private key" 버튼을 눌러 SSH 키를 저장합니다.<br /> <br /> <img alt='vs_git_7.png' src='/SysWebRes/bbs/vs_git_7.png' /><br /> <br /> 제 경우에는 github.com을 이용할 것이기 때문에 SSH 키를 github에 등록할 것입니다. 계정 설정으로 가서, "SSH Keys" 메뉴를 통해 새로운 SSH Key를 등록해 줄 수 있습니다.<br /> <br /> <img onclick='toggle_img(this)' class='imgView' alt='vs_git_8.png' src='/SysWebRes/bbs/vs_git_8.png' /><br /> <br /> 위의 그림에서 "Key"의 내용으로는 이전에 Puttygen에서 복사했던 공개키를 입력해 주면 됩니다.<br /> <br /> 마지막으로, "C:\Program Files\TortoiseGit\bin" 폴더에 있는 pageant.exe 프로그램을 실행시키면 시스템 트레이에 Pageant(PuTTY authentication agent) 아이콘이 생성됩니다. 이 아이콘을 두 번 누르면 다음과 같이 대화창이 하나 뜨고, <br /> <br /> <img alt='vs_git_9.png' src='/SysWebRes/bbs/vs_git_9.png' /><br /> <br /> "Add Key" 버튼을 눌러 이전에 "Puttygen" 프로그램에서 저장해 두었던 "Private key" 파일을 선택합니다.<br /> <br /> 여기까지 완료했으면, github 사용하는데 더 이상 장애물은 없을 것입니다. (나중에 해보니까, pageant.exe 작업이 반드시 필요한 것은 아니었습니다. ^^)<br /> <br /> <hr style='width: 50%' /><br /> <br /> 더 이상 진행하기 전에... Git은 기존의 Visual SourceSafe나 TFS와는 사용법이 확연히 다르기 때문에 가능한 관련 서적을 한 권 정도 읽어보시는 것이 좋습니다. 서적끼리의 비교는 할 수 없으나 적어도 아래의 책 정도는 틈나는 대로 읽어보시는 것이 좋습니다.<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > 프로 Git: 그림으로 이해하는 Git의 작동 원리와 사용법 ; <a target='tab' href='http://www.yes24.com/24/goods/8737301'>http://www.yes24.com/24/goods/8737301</a> </pre> </p><br /> <br /><hr /><span style='color: Maroon'>[이 글에 대해서 여러분들과 의견을 공유하고 싶습니다. 틀리거나 미흡한 부분 또는 의문 사항이 있으시면 언제든 댓글 남겨주십시오.]</span> </div>
첨부파일
스팸 방지용 인증 번호
1274
(왼쪽의 숫자를 입력해야 합니다.)