Window
<처음 PRCR>
git clone 포크뜬 깃허브 주소
git remote add real-blog 원본 깃허브 주소
git checkout -b Window
git add .
git commit -m "할말"
git push origin Window
그후 웹사이트에서 작업을 진행하면 된다.
<최신 원본 저장소에 있는걸 포크뜬 깃허브 주소로 옮기기>
git fetch real-blog
git checkout main
git merge real-blog/main
git push origin main
<한번하고 나면 그냥 연속해서>
git pull (맨처음 포크 뜬 곳에서 pull하기)
git add .
git commit -m "할말"
git push origin Window
git fetch real-blog
git checkout main
git merge real-blog/main
git push origin main
<요약>
git pull (맨처음 포크 뜬 곳에서 pull하기)
git checkout 운영체제
git add .
git commit -m "할말"
git push origin 운영체제
git fetch real-blog
git checkout main
git merge real-blog/main
git push origin main
Mac
<한번하고 나면 그냥 연속해서>
git pull (맨처음 포크 뜬 곳에서 pull하기)
git add .
git commit -m "할말"
git push origin Mac
git fetch real-blog
git checkout master
git merge real-blog/master
git push origin master
<처음 PRCR>
git clone 포크뜬 깃허브 주소
git remote add real-blog 원본 깃허브 주소
git checkout -b Mac
git add .
git commit -m "할말"
git push origin Mac
....
웹사이트에서 작업진행
...
<최신 원본 저장소에 있는걸 포크뜬 깃허브 주소로 옮기기>
git fetch real-blog
git checkout master
git merge real-blog/master
git push origin master
Ubuntu
<한번하고 나면 그냥 연속해서>
git pull (맨처음 포크 뜬 곳에서 pull하기)
git add .
git commit -m "할말"
git push origin Ubuntu
git fetch real-blog
git checkout main
git merge real-blog/main
git push origin main
<처음 PRCR>
git clone 포크뜬 깃허브 주소
git remote add real-blog 원본 깃허브 주소
git checkout -b Ubuntu
git add .
git commit -m "할말"
git push origin Ubuntu
....
웹사이트에서 작업진행
...
<최신 원본 저장소에 있는걸 포크뜬 깃허브 주소로 옮기기>
git fetch real-blog
git checkout main
git merge real-blog/main
git push origin main