반응형
츄르사려고 코딩하는집사입니다.
VS Code(Visual Studio Code)에서 깃 clone, commit, push 하는 방법
VS Code(Visual Studio Code)에서 깃 clone, commit, push 하는 방법입니다.
VS Code(Visual Studio Code) Clone
1. VS code에서 F1을 눌러 git clone을 검색합니다.
2. clone할 url을 넣어주고, 레파지토리 저장 위치를 설정하면 clone은 끝입니다.
VS Code(Visual Studio Code) Commit
1. 먼저, 저는 test.html을 만들어 그 안에 hello2222를 넣어줬습니다.
2. 좌측에 3번째 소스제어를 눌러줍니다.
3. 아래의 사진처럼 + 버튼을 누릅니다.
4. 그 다음, 위에 체크 버튼을 누릅니다.
5. 커밋 메시지를 입력합니다.
6. 아래에 master Branch에 1개가 커밋됐다고 표시가 나옵니다.
VS Code(Visual Studio Code) Push
1. F1을 눌러 git push를 검색하여 실행합니다.
2. 실행하고 나면, vscode 아래에 master branch에서 커밋한 수가 0이 됩니다.
3. 아래와 같이 깃허브에서도 변했습니다.
반응형
'IT > GIT' 카테고리의 다른 글
[GIT] git fatal detected dubious ownership in repository 문제 해결 방법 (0) | 2024.12.11 |
---|---|
[Git] please clean your repository working tree before checkout 문제 해결 방법 (0) | 2024.07.16 |
[Git] Git There is no tracking information for the current branch. 문제 해결 방법 (0) | 2024.07.03 |
[Git] Git remote origin already exists 에러 해결 방법(remote origin 삭제) (0) | 2024.06.12 |
[Git] Make sure you configure your 'user.name' and 'user.email' in git 에러 해결 방법 (0) | 2024.03.11 |
STS(Spring Tool Suite)에서 깃허브(Github) 커밋(Commit) 및 푸시(Push) 하는 방법 (0) | 2021.07.14 |
STS(Spring Tool Suite)에서 깃허브(Github) 연동 및 클론하는 방법 (0) | 2021.07.14 |
깃허브(Github) Git 클론하는 방법 (0) | 2021.07.14 |
최근댓글