본문 바로가기
형상관리/GIT

[GIT] git 다운로드 및 설치하기

by ITDeveloperPJM 2021. 2. 2.

※ [GIT] git-scm 다운로드 및 설치하기

 

   ● git-scm 다운로드

 

     1. git-scm.com/ 경로로 이동하기

 

Git

 

git-scm.com

     2. 다운로드 클릭 (아래 이미지 참조)

* OS환경에 맞도록 설치를 진행하시면 됩니다.

   ● git-scm 설치진행

 

     1. 다운로드 받으신 파일을 실행

* 더블클릭

     2. 다운로드 받으신 파일을 실행Only show new options 체크 해제후 Next 진행하겠습니다.
       (다양한 설정들의 선택하여 진행이 가능합니다.)

  * Only show new options를 체크 후 진행하시면 새로운 설정만 선택진행이 가능합니다.

     3. 다운로드 기능 추가

        - Additional icons (바탕화면 아이콘 추가)
        - Windows Exporer integration (마우스 우클릭시 바로가기 기능추가)
        - Git LFS[Large File Support] (큰 용량의 파일을 지원)
        - Associate .git configuration files with the default text editor (git 파일의 기본텍스편집기 연결)
        - Associate .sh files to be run with Bash (sh[shell script]파일과 bash를 연결)
        - Use a TrueType font in all console windows (windows콘솔에서 TrueType 폰트 사용)
        - Check daily for Git for Windows updates (업데이트 매일 확인하기)

* 필요한 기능을 체크하여 Next 진행하시면 됩니다.

     4. Git의 기본 Text Editor를 선택

     5. Git의 branch 이름 설정

        - Let Git decide (git의 초기 branch값을 Default인 master로 사용)
        - Override the default branch name for new repositories (초기 branch값을 임의의 값으로 변경)

     6. 환경변수 선택

         - Use Git from Git Bash only

          (git명령어를 Git Bash 에서만 사용)
         - Git from the command line and also from 3rd-party software

          (git을 환경변수에 등록 및 Git Bash, cmd, powerShell 등에서 사용)
         - Use Git and optional Unix tools from the Command Prompt

          (cmd 에서 Git 및 선택적 Unix 툴을 사용)

     7. https 전송시 인증서 선택

        - Use the OpenSSL library (OpenSSL 라이브러리를 사용)
        - Use the native Windows Secure Channel library(윈도우 인증서 저장소의 인증서를 사용)

     8. 체크아웃, 커밋 시 스타일 선택

        - Checkout Windows-style, commit Unix-style line endings
        - Checkout as-is, commit Unix-style line endings
        - Checkout as-is, commit as-is (스타일을 바꾸지 않는다)

* CR : Carriage Return (\r), LF : Line Feed (\n)

     9. 터미널 선택

       - Use MinTTY (Git Bash 터미널 사용)
       - Use Windows' default console window (cmd 터미널 사용)

     10. Git pull 명령어 기능 선택

* 추후 git pull 명령어 사용시 옵션을 줄수 있기에 기본값으로 설정합니다.

     11. credential helper 사용 SSH 인증 선택

         - Git Credential Manager Core (새로운 크로스 플랫폼 버전을 사용)
         - Git Credential Manager (Windows 용 Git Credential Manager가 자격 증명을 사용

                                           .NET Framework v4.5.1 이상 필요)
         - None (credential helper 사용하지 않는다)

     12. 기타 기능 선택

         - Enable file system caching (파일 시스템 메모리를 캐시하는 기능)
         - Enable symbolic links (심볼릭 링크 기능)

댓글