Create a fresh bare repository on the server:
git init --bare newrepo.gitAdd it as a remote in our local repo:
git remote add newrepo git://user@server.com/newrepo.git
Push all branches:
git push --all newrepo
Notes on problems and solutions found while developing and goofing around, only technical and science stuff, no commercial pitchs, preaching or thought-leader crap, just hands-on stuff.
git init --bare newrepo.gitAdd it as a remote in our local repo:
git remote add newrepo git://user@server.com/newrepo.git
Push all branches:
git push --all newrepo
No comments:
Post a Comment