- 원하는 사람의 github에 가서 fork 버튼 클릭
- fork로 생성한 본인 저장소에서 download code 버튼 클릭 후, url 복사
- 자신의 터미널에서 home directory에,
git clone repo
* repo: 복사한 url
- ls를 하면 clone한 폴더가 나오고, 그 폴더로 들어가서,
git branch branch_name
* branch_name: 자신이 만들고 싶은 branch명을 입력
git checkout branch_name
- 파일추가/수정등을한후에,
git add file_name
=> git commit
git push repo branch_name
- fork한 사람의 github에 가서 compare&pull request버튼 클릭 후, 메세지 보내고 create pull request클릭