TIL 2020.11.30

Git Workflow

git clone <Repo URL>
git remote add pair <Repo URL for pairs fork>
git remote -v
git add <change file>
git commit -m'change'
git push origin master(or other branch name)
git pull pair master(or other branch name)
git add <change file>
git commit -m'change from B'
git push origin master(or other branch name)
git pull pair master(or other branch name)

Git Branch

git checkout <브랜치 이름>
git checkout -b 기능1
git checkout 원본
git checkout -b 기능2

git workflow

Consistency achieves everything https://github.com/paigekim29