Git 기본 명령어
·
알쓸신잡
오늘은 자주 쓰는 git 명령어들을 작성해보았다. -> 로컬=origin, 원격저장소 branch=maingit 저장소 생성 `git init`git 상태 확인 `git status`원격저장소를 로컬로 복제 `git clone {link}`staging area에 파일 추가 `git add {file}` / `git add .`git에 commit `git commit -m "{message}"`원격 저장소에 로컬 변경사항 업로드 `git push {origin} {main}`원격 저장소 변경사항 로컬로 다운로드 `git pull`원격 저장소 변경사항을 로컬로 가져옴 `git fetch {alias}`github 주소와 연결 `git remote add {origin} {url}`브랜치 생성 `git b..