What is the correct way to set up a Github located repository of a Pydev project?
I usually do:
The issues I encounter are:
Git
directory now, instead of my Eclipse Workspace now?Git\Project
, Git\Project\.git
, Git\Project\Project\.project
? Is this correct?.project
and .pydevproject
file? If I don't, I get a mess when cloning on a new computer. If I do, I get complains about incorrect path configuration, when I check out to a new computer.I would normally start a new project by importing from Github. i.e. First create an empty repository at Github and then in Eclipse do
File -> Import -> Git -> Projects from Git
Once this is complete use the New Projects wizard to define a new PyDev Project with your repo. You will then have a clone of the github repo and be able to commit changes to github.
The Project should now have the same name as the repository on github.
EDIT: You can check in the .pydev and .pydevproject files.
In order to check out this project on a new computer you would follow these steps again - or export your eclipse environment and copy that to the new computer. For the sake of training yourself in eclipse and git it would probably be a good exercise to follow the above steps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With