Environment/Git & Github

Git & Github) Git, Github Desktop 설치

오열매 2022. 9. 16. 18:35

Git을 수동적으로만 사용하지 말고, 제대로 이해하고 사용하자.

 

 

준비사항: 에디터 (ex. Visual Studio Code 등)

 

 


1) Git 설치(Windows, Linux)

 

 

  •  Windows 

 

설치 링크: https://git-scm.com/

 

Git

 

git-scm.com

 

우측의 Download 버튼을 누르고 본인의 컴퓨터 사양에 맞는 파일을 다운로드

 

 


 

  • Linux

 

 Ubuntu 콘솔에서 아래 코드 입력

sudo apt-get install git

 

 

 


2) Git 버전 확인

 

 

두 운영체제 모두, 아래 코드로 버전 체크가 가능하다.

 

git --version

 

 

 

 

 


3) Github Desktop 설치

 

 

git과 연동할 수 있다. (단, 32-bit 인 데스크탑은 사용할 수 없다.)

 

설치 링크: https://desktop.github.com/

 

GitHub Desktop

Simple collaboration from your desktop

desktop.github.com

 

 

 


만약 git이 없다고 하더라도, github desktop을 설치하면 git을 설치해준다.

하지만, git을 설치하고 version 확인을 먼저 하는 것이 확실하다.

 

 

 


참고)

 

- https://nomadcoders.co/git-for-beginners