I currently have a github repository cloned to my Desktop. I want to import it as a new Project in PyCharm.
Is this as simple as moving the repo under the "PyCharmProjects" folder or do I need to import it through some PyCharm feature?
Also is there a way to import a Github repository to PyCharm directly from Github (eg it isn't cloned to my local machine)?
I have the PyCharm Community Edition 2016.3
You don't even need to move it. Simply select "Open directory" and point to the cloned repository.
You can perform a GitHub checkout directly from PyCharm (VCS | Checkout from Version Control | GitHub), but it will have the same effect: it will ask you where to clone the repository, clone it locally, and then open it as a project.
Mac 上的另一种流行方式是将克隆的存储库拖到 Dock 中的 PyCharm 图标上。
In the latest 2021.
Make sure you're signed into Github already through IDE.
Then,
Toolbar --> Clone --> Add the Github URL or select "GitHub" and the projects in the repository will be listed.
Select the required and the project will be cloned to your desktop.
I hope the answer serves your purpose.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.