상세 컨텐츠

본문 제목

깃허브 VScode 연동 해서 사용하기

프로그래밍

by 2hansoul 2022. 3. 29. 19:54

본문

반응형
[root@hansol-test www]# git init
Initialized empty Git repository in /var/www/.git/​
[root@hansol-test www]# yum -y install git

 

자신의 로컬서버에서 깃을 다운 받아준다(구글클라우드 사용중)

[root@hansol-test www]# git config --global user.name "gitID"
[root@hansol-test www]# git config --global user.email "gitmail"

자신에 깃허브아이디 ,메일  config 해주면 된다 

[root@hansol-test www]# git init
Initialized empty Git repository in /var/www/.git/

git을 생성하면 하단에 저장위치가 볼 수 있음

git clone 누르면 깃에 저장되어있는 걸 불러올수 있다

파일은 정상적으로 불러왔고 커밋을 하려고 하면 이렇게 뜰탠데 다시 config 해주면 정상적으로 커밋이 된다 

 

반응형

관련글 더보기

댓글 영역