-
git 간단한 사용법
github 로그인
git 설치(windows 64비트)
git bash 실행 => username 정하기 : git config --global user.name "이름 입력"
useremail 정하기 : git config --global user.email "이메일 입력" // github email로 하는것을 권장
git에 대한 이름과 이메일 입력완료!
//vscode 와 github 연동
github에 올릴 폴더에 가서 git init // 폴더를 github와 연동 .git 폴더생성
git add . //위에서 지정한 폴더에 모든 파일 저장소로 올림 git status로 확인가능
git commit -m "first commit" // commit 이유 정도
두번째 커밋의 예 나의 github의 repository와 폴더 연동
git remote add origin https://github.com/chajuseok128/chajuseok128.git
GitHub - chajuseok128/chajuseok128: Config files for my GitHub profile.
Config files for my GitHub profile. Contribute to chajuseok128/chajuseok128 development by creating an account on GitHub.
github.com
// git remote -v 로 연동된것을 확인가능
최종적으로 push하기
git push origin master
+) 추가로 파일을 변경했을 때
다시 git add . => git commit -m "second commit" => git push origin master