git init 은 로컬 리포지토리 생성하는 명령어임 # git push 로컬저장소를 깃헙에 올리는거임 git push -u https://github.com/helloshopang/studygithub.git main -u 원격저장소주소(url) branch이름 -u는 기억하라는 뜻 - 저 긴거를 단축할수있음 git remote add 변수명 변수에담을거 git remote add origin https://github.com/helloshopang/studygithub.git 이렇게 하고 git push -u origin main이렇게 치면 됨 -u는 기억하라는 뜻 -u하면 git push만 쳐도 백업됨. # git clone git clone 저장소주소 모든 코드 다 다운받아짐. 클론한걸 push하..