[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 해주면 정상적으로 커밋이 된다
깃 브랜치 병합 하기(git branch merge) (0) | 2022.06.10 |
---|---|
[git] git push / pull 기본적인 파일 올리고 받을 수 있는 (0) | 2022.05.31 |
Headers and client library minor version mismatch. (0) | 2022.01.10 |
리눅스 centos7 JAVA 1.8 mariadb JDBC 설치 하는 법 (0) | 2022.01.05 |
linux centos7 한글깨짐 (0) | 2022.01.04 |
댓글 영역