본문 바로가기
PHP/환경설정

비쥬얼 스튜디오 - github 연동

by 개발하자구 2023. 2. 2.
  • 비쥬얼 스튜디오 다운 
  • vs에서 GitHub Pull Requests and Issues  extension으로 다운 
  • 네이버에서 검색 : git 설치 https://git-scm.com/download/win
 

Git - Downloading Package

Download for Windows Click here to download the latest (2.39.1) 32-bit version of Git for Windows. This is the most recent maintained build. It was released 16 days ago, on 2023-01-17. Other Git for Windows downloads Standalone Installer 32-bit Git for Win

git-scm.com

  1. vs 재시작 
  2. vs에서 단축키 f1 - git clone - github복제 클릭
  3. https://github.com/주소(0000000000).git 복사해서 집어넣기
  4. 폴더지정하면서 생성공간 꼭 D드라이브에 지정해서 만듦 
  5. 마지막에 로딩끝나면 꼭 작업영역 불러오기에 체크!
  6. vs에서 파일 올려놓고 push 하려고 하면 오류뜸
  7. 오류해결 방법 : cmd창 실행
  8. d:를 cmd창에 써서 d드라이브로 맞춰놓는다

vscode 연동을 위해서(로컬 git설치 후) 

git config --global credential.helper store

git config --list

git config --global user.name "테스트"
git config --global user.email "test@gmail.com"



 

참조 : 

https://kooremo.tistory.com/entry/vscode-git-%EC%97%B0%EA%B2%B0-%EC%97%B0%EA%B2%B0%EC%8B%9C-%EC%9D%B4%EB%A6%84%EC%9D%B4%EB%A9%94%EC%9D%BC-%EC%9E%85%EB%A0%A5%ED%95%98%EB%9D%BC%EA%B3%A0-%EA%B3%84%EC%86%8D-%EB%82%98%EC%98%A4%EB%8A%94-%EA%B2%BD%EC%9A%B0