코딩/Git

Git 초기 설정

춘 몽 2024. 2. 8. 00:09
728x90

- GitHub 가입

 

- Git 설치 https://git-scm.com/

 

Git

 

git-scm.com

- 설치 후 Git bash 열기

- git config --global user.nmae "my_name"

- git config --global user.email "my_email"

- git config --list   (정보확인)

 

Github

- git init

- git add .

- git status

- git commit -m "first commit"

- git remote add origin ~~~~ (github에서 붙여와라)

- git remote -v    (연동 잘 되었는지 확인)

- git push origin master

 

728x90