
반응형
1. Staging area에 add를 해준다.
2. 그것을 log에 커밋을 해준다
Add - commit - push
3. Add commit push 이렇게 하면 제 깃허브에있는 리포지토리로 변경사항 저장됨
1. 포크하고 클로닝하기
2. 터미널 CLI
cd desktop
mkdir codestates
git clone 복사한 주소
cd 폴더이름
cd .
3. open in browser를 이용해서 html 파일 열기
4. 커밋하기 터미널
git status 변경된 파일 확인
git add koans/파일명
git commit -m '말 '
5. push하기
git status
git add koans/
git commit -m 'complete ~'
git push origin master
6. 깃허브 들어가기
업데이트 확인
Pull request
new pull request
create pull request 클릭
기수 이름 과제 이름
내용 필요없음
remote 하는 방법
리모트 연결하기
git remote add pair URL
상대방 것 가져오기
git pull pair master
React
npx create-react-app 파일명
git remote add origin URL
반응형
'코드스테이츠' 카테고리의 다른 글
챌린지 9월 온라인 정기모임 후기 (0) | 2021.10.01 |
---|---|
달밤의 수다 후기(8/19) (0) | 2021.08.21 |