Study/git

[Git] VSCode git repository 연결 방법(clone), 확장 프로그램 추천

 

VSCode(Visual Studio Code)에서 github repository clone을 사용하는 방법과 VSCode에서 설치하기 좋은 git 관련 확장 프로그램(extensions)에 대한 설명입니다.

 

 

VSCode가 아닌 다른 개발 도구를 사용중이시면 아래 글을 참조하시면 됩니다.

[Git] Intellij git clone 사용법 바로가기

[Git] Spring Tool Suite(STS) 4 clone 사용법 바로가기

 

 

VSCode에서 github repository 연동

1. Ctrl + Shift + P를 누르거나 상단 메뉴에서 Help > Show All Commands로 들어갑니다.

Show All Commands 메뉴 선택
Show All Commands 메뉴 선택

 

 

2. git clone을 검색합니다.

git clone 검색
git clone 검색

 

 

3. 리포지토리 URL 입력 창이 나오면 clone 하고싶은 리포지토리 URL을 입력합니다.

리포지토리 URL 입력
리포지토리 URL 입력

 

 

4. 프로젝트를 clone할 경로를 선택합니다.

프로젝트 clone 경로 선택
프로젝트 clone 경로 선택

경로를 선택하면 선택한 경로의 하위에 폴더가 생성됩니다.

예를 들어 A 폴더를 선택하면 A 폴더 밑에 리포지토리 이름으로 된 폴더가 생성됩니다.

 

 

5. git 리포지토리 clone이 완료되었습니다.

clone 완료
clone 완료

 

 

 

 

 

 

VSCode git 확장 프로그램(extensions) 추천

GitLens

확장 프로그램 GitLens
확장 프로그램 GitLens

GitLens는 코드를 수정한 사람이 누구인지, 언제 수정되었는지 표시하거나 파일의 변동 내역, 브랜치 정보 등 git의 여러 기능들을 시각적으로 보기 좋게 GUI를 제공하는 확장 프로그램입니다.

 

GitLens 공식 사이트 바로가기

 

GitLens | Free Git Extension for Visual Studio Code

Millions of devs and teams choose GitLens to tap into the full power of Git in VS Code. Install it for free and start a Pro trial to unlock additional GitLens+ features on private repos.

www.gitkraken.com

 

 

Git Graph

확장 프로그램 Git Graph

Git Graph는 리포지토리의 커밋 내역을 그래프로 보고, 관리할 수 있도록 해주는 확장 프로그램입니다.

Git Graph 공식 사이트 바로가기

 

GitHub - mhutchie/vscode-git-graph: View a Git Graph of your repository in Visual Studio Code, and easily perform Git actions fr

View a Git Graph of your repository in Visual Studio Code, and easily perform Git actions from the graph. - mhutchie/vscode-git-graph

github.com

 

 

Git History

확장 프로그램 Git History
확장 프로그램 Git History

Git History는 git log 검색, 커밋 비교 및 관리 기능을 제공하는 확장 프로그램입니다.

Git History 공식 사이트 바로가기

 

gitHistoryVSCode/README.md at main · DonJayamanne/gitHistoryVSCode

Git History for Visual Studio Code. Contribute to DonJayamanne/gitHistoryVSCode development by creating an account on GitHub.

github.com

 

 

 

 

읽으면 좋은 글

[Git] git clone 명령어 사용법

 

[Git] git clone 명령어 사용법

git clone이란?git clone 명령어는 Git 저장소(repository)를 복제(clone)하는 데 사용되는 명령어입니다.원격 저장소(remote repository)에 있는 프로젝트를 로컬 컴퓨터에 그대로 복사하여 가져오는 기능을 수

priming.tistory.com