Friday, September 5, 2014

Pydev project and git repo - ignoring local configurations

The local configuration settings for a pydev project are stored in a hidden file .pydevproject. If we push this file to the repository then every other other remote repository that pulls the repo will get the version of this file that is specific for a particular local machine. In order to avoid this, it is a good idea to add this file to the .gitignore file in the root folder of the git repo.

Typically, here is a list of standard files to add to .gitignore.

 .pydevproject  
 .pyc  

Code formattd using - Code Formatter

No comments:

Post a Comment