1. 연동 확인방법
VSCode의 터미널(Terminal)에서 아래 명령어를 실행
git remote -v
origin https://github.com/사용자이름/레포지토리이름.git(fetch)
origin https://github.com/사용자이름/레포지토리이름.git (push)
위와 같이 GitHub URL이 보이면, 현재 폴더가 GitHub 원격 저장소와 연결된 상태
2. 연동 해제방법
터미널에서 아래 명령어 실행
git remote remove origin
git remote -v 로 확인
3. 폴더 git 해제 방법
아래 명령어로 git 해제
rm -rf .git
git status 로 git 연동 확인
'IT > 팁' 카테고리의 다른 글
Sass(Syntactically Awesome Style Sheets)/SCSS 란? (0) | 2025.03.11 |
---|---|
[맥북] git 설치 (0) | 2025.02.12 |
[자바스크립트] 문법 구조 분해 할당 (1) | 2025.02.08 |
[VSCode] 파일 자동 저장 방법 (0) | 2025.02.06 |
[VSCode] code 명령어 (0) | 2025.02.05 |