...I had now the challenge to move my dozen or so lines of codes over to the new repository.
Now I'm the first one to admit, I'm still kinda green with 'git' and have only used it in the past on 1 or 2 little project and never on anything real. So how complicate will it be to move the code and not loose your complete history of commit (all 7 of them...)
Surprisingly easy it turns out, just issue the following magic commands and you are all set.
- git remote add alchemy https://code.google.com/p/alchemy/
- git push alchemy master
- git remote rm origin
- git remote add origin https://code.google.com/p/alchemy/
- git remote rm alchemy
Now looking at this, I'm quite sure I could had simplified this even more, but for now it got the job done.
No comments:
Post a Comment