Sangmun

vscode에서 git 사용하기 + 유용한 extention들 본문

개발/github

vscode에서 git 사용하기 + 유용한 extention들

상상2 2022. 12. 18. 19:47

vscode에서는 git을 사용함에 있어서 매우 유용한 extention들이 많다.

git을 사용하는 것만으로도 효율적인 작업이 가능하지만 아래의 extention들이 있으면 효율이 배가 되는 느낌이다.

그만큼 매우 유용한 툴이고 만들어주신 분들께 매번 감사하고 있다...

 

1. git graph

Git Graph는 Git 히스토리를 그래프로 한눈에 확인할 수 있게 해 줍니다.

그 외에도 terminal에서 명령어를 이용해서 수행하던 작업도 GUI 기반으로 할 수 있도록 해줍니다

https://marketplace.visualstudio.com/items?itemName=mhutchie.git-graph 

 

Git Graph - Visual Studio Marketplace

Extension for Visual Studio Code - View a Git Graph of your repository, and perform Git actions from the graph.

marketplace.visualstudio.com

 

2. git history

git의 history를 볼 수 있도록 특화된 extention이다.

가끔 특정 사람의 commit만 검색하고 싶을 때가 있는데 그럴 때 사용하면 매우 좋다!

 

https://marketplace.visualstudio.com/items?itemName=donjayamanne.githistory 

 

Git History - Visual Studio Marketplace

Extension for Visual Studio Code - View git log, file history, compare branches or commits

marketplace.visualstudio.com

 

 

3. git lens

git lens는 git의 대부분의 기능을 gui로 수행할 수 있게 해 줍니다. 너무 기능이 많아서 다 알 수도 없고

저는 개인적으로 코드마다 누가 commit을 했는지 default로 보여주는 기능이 있어서 매우 좋은 기능이라 생각합니다.

https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens 

 

GitLens — Git supercharged - Visual Studio Marketplace

Extension for Visual Studio Code - Supercharge Git within VS Code — Visualize code authorship at a glance via Git blame annotations and CodeLens, seamlessly navigate and explore Git repositories, gain valuable insights via rich visualizations and powerfu

marketplace.visualstudio.com

코드를 보면 누가 commit 했는지 바로바로 보여준다. 그래서 lens 인가보다

 

4. git hub pull request and issue

이 기능은 아직 잘 안 써봤는데 pr을 할 때 굳이 web으로 안 들어가고 vscode에서 pr을 할 수 있게 해준다고 한다.

 

https://marketplace.visualstudio.com/items?itemName=GitHub.vscode-pull-request-github 

 

GitHub Pull Requests and Issues - Visual Studio Marketplace

Extension for Visual Studio Code - Pull Request and Issue Provider for GitHub

marketplace.visualstudio.com

 

'개발 > github' 카테고리의 다른 글

github action 기본사항  (0) 2023.02.12
git 파일 복구  (0) 2023.01.18
git simulation  (0) 2022.12.31
git reset, git revert  (0) 2022.12.28
git 기본 명령어 정리  (0) 2022.12.18
Comments