git bash로 githurb에 코드 올리는 법
git bash
프로젝트 폴더 우클릭 > git bash Here
프로젝트 파일 내 '.git' 폴더 생성됐는지 확인
로컬 저장소 지정
$ git init
$ git status
$ git branch -m [기존 이름][바꿀 이름]
$ git add .
만약, 에러가 뜨면 아래의 코드 입력 후 add할 것
$ git config core.autocrlf true
$ git commit -m "입력할 메세지"
$ git remote add origin "(Git Repository 주소)"
# ex) https://github.com/apricityun/tp-spring01.git
$ git remote -v
$ git push origin master
$ git push -u origin master
깃 username 및 토큰 입력
깃 push 안 될 때,
git pull origin 브랜치명
git branch -a #강제 푸시
git push origin +master
git checkout -b 'master'
git push origin master