<aside> <img src="/icons/light-bulb_yellow.svg" alt="/icons/light-bulb_yellow.svg" width="40px" /> 금지 명령어
git stash 명령어 사용 금지</aside>
원격 저장소에서 내용을 로컬 저장소로 가져온다
git clone <https://lab.ssafy.com/s11-webmobile1-sub2/S11P12C206.git>git pull origin masterdevelop 브랜치 생성 후 pull
$ git checkout -b develop
$ git pull origin develop
로컬 저장소에서 작업할 브랜치를 생성 후 해당 브랜치로 이동한다.
# 로컬 저장소 branch 호출 (초기에는 master, develop 필요)
$ git branch
# 브랜치 생성 명령어
$ git branch 브랜치이름
$ git checkout 브랜치 이름
# 위의 명령어를 한번에 치고 싶으면 :git checkout -b feature/1-login-render
# 브랜치 네이밍 규칙은 하단 내용 참고 ex) feature/{Jira issue num}-{기능}-{기능}-...
# status는 단순히 git 내용 확인
$ git status
$ git add .
# 커밋 메시지 작성 시 쌍따움표 안닫고 엔터치면서 이어 쓰기 가능
# 헤더, 본문, 푸터 작성 요령은 하단 참고 (`\\n` 두 번으로 헤더/본문/푸터 구분)
$ git commit -m "feat: login 페이지 구현
>
> - Login 화면 표시를 위한 Lender 페이지 구현
> - 기능 미포함
> - 단순 렌더링 페이지 구현
>
> resolves: #47
> ref: #5
> related to: #49, #22
>"
# 작업 branch 예시 : feature/1-login-render
# 원격 저장소 branch 생성 후
$ git push origin {작업 branch}
merge request / Github에서는 pull request 표현 사용해당 페이지에서 Merge Request 작성
