Move Pycharm project with multiple repositories to another computer


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

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
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.


Please sign in to leave a comment.