Bureaucrats, confirmed, Administrators
4,558
edits
(quick howto on moving a project to GitHub) |
(add the branch name to the pull) |
||
Line 131: | Line 131: | ||
git remote add github git@github.com:USER/project.git | git remote add github git@github.com:USER/project.git | ||
# pull in anything from 'upstream' (assuming that now GitHub is the canonical source) | # pull in anything from 'upstream' (assuming that now GitHub is the canonical source) | ||
git pull github | git pull github master | ||
# push any changes up | # push any changes up | ||
git push --set-upstream github master | git push --set-upstream github master |