git 소스코드관리 프로그램 다운로드 및 설치하는 방법

IT|2017. 11. 5. 20:50

원하는 프로그래밍을 할 때 소스코드를 백업을 하여야 할 때가 있습니다. 날짜별로 분류를 하기도 하고, 소스파일을 압축을 하여 폴더에 보관을 하기도 합니다. 혹시나 이러한 파일들이 삭제가 될 경우에는 다시 코딩을 하여야 하는 불상사가 발생할 수 있기도 합니다.


팀프로젝트나 개인프로젝트에도 유용한 소스코드관리 프로그램은 git가 있습니다. 사용 방법은 명령프롬프트 창에서 명령어를 입력을 하여 사용을 할 수 있습니다. 윈도우 dos 명령어가 아닌 리눅스 명령어를 통해 사용을 합니다.



git 소스코드관리 프로그램을 익혀두면 유용하게 도움이 될 수 있습니다. git 소스코드관리 프로그램이 로컬 컴퓨터에서 사용을 한다면 로컬 컴퓨터에서 작업한 소스를 github에 업로드를 할 수 있습니다. 이를 통해 소스 수정 시에 업로드를 하여 이 전의 수정을 했던 내역들을 볼 수 있습니다. git 소스코드관리 프로그램 다운로드 및 설치하는 방법에 대해 소개하겠습니다.


git 소스코드관리프로그램


git 소스코드관리 프로그램 다운로드 및 설치하는 방법


git 다운로드


인터넷 검색 포털 사이트 구글에서 git를 입력을 합니다. git 홈페이지에 접속을 합니다. Git is easy to learn and has a tiny footprint with lightning fast performance. It outclasses SCM tool like Subversion. CVS, Perforce, and ClearCase whti features.. About, Git, Pro Git Book, Git - GUI Clients, Downloads 정보를 확인을 할 수 있습니다.

영문 홈페이지입니다. 웹 브라우저 종류 중에 구글 크롬을 사용을 한다면 영문 홈페이지를 한국어로 번역을 할 수 있습니다.


everything


git 홈페이지에 오른쪽에 Download 2.15.0 for Windows를 클릭을 합니다. 이 외에 About, Documentation, Downloads, Community 정보 등을 확인을 할 수가 있습니다. 윈도우에서 사용을 할 수 있는 버전도 있고, 리눅스, MAC에서도 사용을 할 수 있는 버전이 있습니다.


download git


Downloading Git에 Git for Windows Setup - 64bit Git for Windows Setup.를 클릭을 하여 다운로드를 받습니다. 요즘에 사용을 하는 대부분의 컴퓨터는 Windows 64-bit를 사용을 합니다. 32bit를 사용을 한다면 32-bit Git for Windows Setup.를 다운로드를 받으면 됩니다. 이 외에 git 포터블 프로그램을 다운로드를 받을 수 있습니다.



gnu


다운로드를 받은 git 소스코드관리 프로그램 설치파일을 실행을 합니다. Information. Please read the following important information before continuing. When you are ready to continue with Setup, click Next.에 Next를 클릭을 합니다. GNU General Public License 정보를 확인을 할 수 있습니다.


location


Select Destination Location. Where should Git be installed? Setup will install Git into the following folder. To continue, click Next, If you would like to select a differnt folder, click Browse.에 설치 경로는 그대로 두고 Next를 클릭을 합니다. 전체 용량은 220.6MB입니다.


component


Select Components. Which components should be installed? Select the components you want to install; clear the components you do no want to install. Click Next when you are ready to continue. Additional Icons, Windows Explorer integration, Git LFS(Large File Support), Associate .git* configuration files with the default text editor, Associate .sh files to be run with Bash 항목을 선택을 한 후에 Next를 클릭을 합니다.


Menu


Select Start Menu Folder. Where should Setup place the program's shortcuts? Setup will create the program's shortcuts in the following Start Menu folder. To continue, click Next. If you would like to select a differeent folder, click Browse. Next를 클릭을 합니다.


path


Adjusting your PATH environment. Use Git from the Windows Command Prompt. This option is considered safe as it only adds some minimal Git wrappers to your PATH to avoid cluttering your environment with optional Unix tools. You will be able to use Git from both Git Bash and the Windows Command Prompt. Use Git from the Windows Command Prompt 항목을 선택을 한 후에 Next를 클릭을 합니다.


https


Choosing HTTPS transport backend. Which SSL/TLS library would you like Git to use for HTTPS connections? Use the OpenSSL library. Server certificates will be validated using the ca-bundle. crt file. Use the OpenSSL Library 항목을 선택을 한 후에 Next를 클릭을 합니다.


encoding


Configuring the line encoding conversions. How should Git treat line encoding in text files? Checkout Windows-style, commit Unix-style line encodings. Git will convert LF to CRLF when checking out text files. When committing text files, CRLF will be converted to LF. For cross-platform projects, this is the recommended setting on Windows ("core.autocrlf" is set to "true"). Checkout Windows-style, commit Unix-style line encodings 항목을 선택을 한 후에 Next를 클릭을 합니다.


terminal


Configuring the terminal emulator to use with Git Bash. Which terminal emulator do you want to use with your Git Bash? Use MinTTY (the default terminal of MSYS2). Git Bash will use MinTTY as terminal emulator, which sports a resizable window, non-rectangular selections and a Unicode font. Windows console programs (such as interactive Python) must be launched via 'winpty' to work in MinTTY. Use MinTTY (the default terminal of MSYS2) 항목을 선택을 한 후에 Next를 클릭을 합니다.


extra


Configuring extra options. Which features world you like to enable? Enable file system caching. File system data will be read in bulk and cached in memoey for certain operations ("core.facache" is set to "true"). This provides a significant performance boost.

Enable Git Credential Manager. The Git Credential Manager for Windows provides secure Git credential storage for Windows, most notably multi-factor authentication support for Visual Studio Team Services and GitHub. (requires . Net Framework v4.5.1 or or later). Enable file system caching, Enable Git Credential Manager 두 항목을 체크를 한 후에 Install를 클릭을 합니다.


git 설치


Installing. Please wait while Setup installs Git on your compter. Extracing files... git 소스코드관리 프로그램이 정상적으로 설치가 진행이 됩니다. 컴퓨터 사양에 따라 설치 속도가 달라질 수가 있습니다. 요즘 컴퓨터는 빠른 시간 안에 설치가 됩니다.


git 설치 완료


Completing the Git Setup Wizard. Setup has finished installing Git on your computer. The application may be launched by selecting the installed shortcuts. Click Finish to exit Setup. git 설치가 완료가 되었습니다. Finish를 클릭을 합니다. git 소스코드관리 프로그램을 사용을 할 수 있습니다.


git 소스코드관리 프로그램 다운로드 및 설치하는 방법에 대해 알아보았습니다. 개인프로젝트나 팀프로젝트를 진행을 한다면 소스코드 관리 및 백업을 할 때 좋은 프로그램입니다. 소스관리 프로그램을 알아보고 계신다면 유용한 정보가 되시길 바래요.

댓글()