Setting/Git & Github

Git 설치와 옵션 설명 with window x64 (2021. 01. 20)

개발자_옹이양 2021. 1. 20. 20:30

Git Installation and Options Description

1. git-scm.com 에서 git 설치를위한 exe 파일을 다운로드 합니다.

Git.exe download-01
Git.exe download-02
Git.exe download-03

2. 다운이 완료됐다면 아래와 그림과 같이 설치를 진행합니다.

옵션 선택이 없는건 next > 를 눌러 주시고, 옵션 선택이 있는건 그림과 설명을 더하겠습니다.

설치 구성요소 선택

Additional icons

  • On the Desktop : 바탕화면 아이콘 추가

Windows Explorer integration : 윈도우 탐색기 통합

  • Git Bash Here : Git Bash 연결
  • Git GUI Here : Git GUI 연결

Git LFS(Large File Support)

  • 용량 큰 파일 지원

Associate .git configuration files with the default text editor

  • git 구성파일 기본 텍스트 에디터와 연결

Associate .sh files to be run with Bash

  • .sh 확장자 파일 Bash로 실행

Use a TrueType font in all console windows

  • 윈도우 console 창에서 TrueType 글꼴 사용

Check daily for Git for Windows updates

  • Git 업데이트 매일 확인 여부

환경 변수 옵션 설정

Use Git from Git Bash only

  • Git bash에서만 Git command 수행

Use Git from the Windows Command Prompt

  • 윈도우 환경변수에 Git 등록, 윈도우 cmd 창에서도 사용 가능

Use Git and optional Unix tools from the Windows Command Prompt

  • Git과 유닉스 도구를 사용할 경우 환경변수에 추가

https 전송시 인증서 선택

Use the OpenSSL library

  • OpenSSL 라이브러리 사용

Use the native Windows Secure Channel library

  • Windows 인증서 저장소를 사용해 유효성 검사

Git 저장소 체크인, 체크아웃 할 때 줄 바꿈 옵션 선택

Checkout Windows-style, commit Unix-style line endings

  • 체크아웃시 윈도우 스타일, commit에는 유닉스 스타일 적용

줄바꿈처리 윈도우: "\r\n" 사용

유닉스 계열(리눅스,맥) : "\n" 사용

이 옵션을 선택하면 커밋시에 윈도우에서 줄바꿈을 리눅스 식으로 자동 바꿈

Checkout as-is, commit Unix-style line endings

  • 체크아웃은 스타일 변환 없음, commit에는 유닉스 스타일 적용

Checkout as-is, commit as-is

  • 체크아웃, commit 스타일 변환 없음

Git Bash 터미널 에뮬레이터 설정

Use MinTTY

  • MinTTY terminal emulator 사용 (Git bash 기본 터미널 사용)

Use Windows’ Default console window

  • 윈도우 기본 콘솔 사용

git pull 설정: 명령어에 대해 어떻게 행동할지

Default

  • 현재 브런치에 fast-forward를 진행

  • fast-forward가 불가능할 경우 merge 된 커밋 생성

fast-forward?

  • 브랜치 상태가 이전부터 변경되지 않아 단순히 병합하는 방법

merge?

  • 양쪽의 브랜치를 하나로 합치는 방법 , 서로 변경사항이 적용

Rebase

  • 현재 브랜치에 rebase

rebase?

  • merge와 비슷하나 원래의 커밋 이력이 변경시켜 정확한 이력을 남기지 않음

Only ever fast-forward
- fast-forward가 되는 경우만 git pull 명령어를 실행

credential helper 설정

Git Credential Manager Core

  • window, mac에서 실행되는 Git 자격 증명 도우미

Git Credential Manager

  • Windows 용 Git Credential Manager

None

  • Credential helper 설정 안함

 

 

기타 설정

Enable file system caching

  • 빠른 실행을 위해 파일 시스템 데이터를 메모리에 캐시

Enable symbolic links

  • 심볼릭 링크(symbolic links) 활성화

 

 

실험적 기능 설정, 체크X

 

'Setting > Git & Github' 카테고리의 다른 글

Git & Github 알아보기  (0) 2021.01.22
무료로 웹사이트를 호스팅해보자!  (0) 2018.12.09