Thanks brutha, that helped a lot
Glad to be of service :)
This didn't push all my branches. How do I do that?
After you clone your old repository you have to checkout all the branches:git branch -r # displays all remote branchesgit checkout -t origin/mybranch # checks out and tracks a given remote branch, do this for all of them... continue as stated above ...git push origin mybranch # in the end push all the branches to the remote
Thanks brutha, that helped a lot
ReplyDeleteGlad to be of service :)
ReplyDeleteThis didn't push all my branches. How do I do that?
ReplyDeleteAfter you clone your old repository you have to checkout all the branches:
Deletegit branch -r # displays all remote branches
git checkout -t origin/mybranch # checks out and tracks a given remote branch, do this for all of them
... continue as stated above ...
git push origin mybranch # in the end push all the branches to the remote