Flutter/Editor

[Windows] VS Code git 연결하기

오늘도개발 2023. 4. 18. 14:09

1. git 이란?

 - svn으로 버전 관리 및 코드의 백업을 하기 위해 사용한다.

 

 - 팀 프로젝트로 작업을 할 때, 코드의 공유가 간편하고 코드의 합치기가 용이하다.

 

2. git 다운로드

 - 다음 사이트에 접속하여 설치 프로그램을 다운로드 한다.

 

 https://git-scm.com/downloads 

 

Git - Downloads

Downloads macOS Windows Linux/Unix Older releases are available and the Git source repository is on GitHub. GUI Clients Git comes with built-in GUI tools (git-gui, gitk), but there are several third-party tools for users looking for a platform-specific exp

git-scm.com

 

 

3. git 설치하기

 

 - 다운로드 받은 설치 파일을 실행한 후 별도의 조작없이 다음으로 누르면 기본 설정으로 설치가 완료된다.

 

 

- 다음과 같이git bash에서 git --version 을 입력하여 정상 설치 여부를 확인 할 수 있다.

 

4. VS Code Terminal 에서 확인하기

 

 - git을 설치한 후 vscode terminal 창에서 git bash 창을 연 후 git --version 을 입력하여 확인한다.