
GitHub을 협업 툴로 사용하는 방법에 대해 알아보았다.
현업에서 프로젝트를 진행할 때는 공통의 repository를 복제(clone)해 로컬의 세부 가지(branch)에서 개별 작업을 하고, 다시 결합(merge)하는 식으로 진행된다.

*이미지 출처: wecode material
git branch feature/login, git checkout feature/login)feature/기능으로 쓴다. git add .-> git commit -m "" -> git push origin git push origin 한다.git remote add origin <url> 혹은 git clone으로 복사하면, 자동으로 origin 원격 저장소에 등록된다git merge master, git pull origin master로 remote의 파일을 가져와야 한다. git commit → 에디터 열림:wq 로 저장