Git fork workflow


1.Fork
2.Add upstream repo

git clone <forked repo url>
cd <repo foder>
git remote add upstream <origin repo url>

3.Fetch upsteam and merge

git checkout master
git fetch upstream
git merge upstream/master
git push origin master
kejinlu /
Published under (CC) BY-NC-SA in categories Programming  tagged with git