Move Pycharm project with multiple repositories to another computer

Hi,

I have a Pycharm project with 3 public Github repositories that I cloned. I have never used version control on this project, I just made some changes to run my code. I now want to move to another computer so I want to upload the whole project to one Github repository and then clone it to the new computer. Is this possible? How can I do it?

Thank you very much

1 comment
Comment actions Permalink

If the repository doesn't yet exist on Github, first you should create it using Github web interface.

Then, open the terminal in your project root. You can use the following commands to point this new local repository to the remote one:

git init
git commit -m "first commit"
git remote add origin user@repo.com:username/some_repo.git
git push -u origin master

On another computer you can clone it, and proceed with using PyCharm VCS integration to track the changes on both computers.

0

Please sign in to leave a comment.