Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Git in PyCharm using a pre-existing repository

So I hadn't realized that PyCharm has its own git functionality. As of now, I already have a local repository and a remote repository, only they were created with git bash. The project I'm currently working on is already located in that local repository. I want to integrate PyCharm to let me work with those repositories.

There's a lot of information on how to create a repository, but I can't seem to follow anything talking about using repositories that already exist.

So the main thing I want is to be able to put my current project in my currently existing local repository - from there, I'd like to be able to push/add to the currently existing remote repository.

Does anyone know how to do this?

Thanks.

like image 552
user2869231 Avatar asked Jun 05 '14 15:06

user2869231


1 Answers

Quick point, it does not matter what interface created the git repo or what ones you use to work with. I often jump between different tools and integrations. It is all git.

As for adding an existing repo go into preferences and got to the project settings group and select Version Control. In that main window you should see a + and - to add and remove integration with git repos. After that you should see a VCS menu on the main window.

like image 156
TheHandofTheKing Avatar answered Sep 19 '22 02:09

TheHandofTheKing