목록git (2)
도토리
git init 깃 저장소 초기화, 이 명령어를 입력해야 다른 깃 명령어들을 사용할 수 있음!!! git config "configure" git help git help init 깃 명령어 보기 git status 저장소 상태 체크 git add 깃이 새 파일들을 지켜보게 함 git commit 커밋이용 git branch 새로운 브랜치를 만들고 자신만의 커밋 타임라인을 만듬. ex) git branch dotoryyy git checkout 저장소 옮겨가게 해주는 탐색 명령어 ex) git checkout dotoryyy git merge master 브랜치로 병합 ex) git merge dotoryyy git push 깃허브에 올림 git pull 깃허브에서 로컬로 다운로드
처음으로 깃 설정 git config --global user.name "Your Name Here" git config --global user.email "your_email@youremail.com" 로컬 저장소 만들기 git init git status git add Readme.txt git commit -m “Add Readme.txt” 로컬 저장소와 깃허브 저장소 연결 git remote add origin https://github.com/username/myproject.git 만약, fatal: remote origin already exists. 가 뜨면 git remote rm origin (remote origin 삭제 - 아니 삭제해도 되는거임???;; 이렇게 맘대로 삭제해도 되..