본문 바로가기
  • 삽질하는 자의 블로그
깃헙

2. 기본 협업하기

by 이게뭐당가 2023. 1. 5.
1. git clone https://github.com/mysungsik/MsPractice-REACT-Redux.git

    + npm install
    
2. git init

3. git branch -m master newb

4. 코드작성

5. git remote add origin https://xxxx.git

6. git add .

7. git commit -m "..."

8. git push origin newb

9. [github에 가서] pull request 를 [팀장] 에게 보낸다.

10. [팀장] pull request 확인

11. [팀장] ok 하면 merge

12. [팀원들] git pull https://xxxx.git   [업데이트(최신화)]

13. 코드 작성 및 push 반복

'깃헙' 카테고리의 다른 글

깃헙과 소스트리  (0) 2024.06.17
3. 깃허브의 버젼관리, 히스토리관리 with. gitinore  (0) 2023.02.22
1. 강제 푸시하기  (0) 2023.01.05

댓글