![]() It is a good idea to keep your Repository outside of your Eclipse Workspace.Īlso check out how to specify a custom git repository location without any IDE.In order to add another project, you would have to move the project to a sub-folder in the Repository and add the second project as another sub-folder before you could commit this change. project file will occupy the root folder you could still add projects as sub-folders, but this kind of project nesting is known to cause lots of problems all over the place. The reason is that you will never be able to add another project to this Repository, as the.It is probably not a good idea to make a project the root folder of your Repository. EGit recommends not to create Git repositories within Eclipse project or Eclipse workspace. The git default configurations can be viewed at Window>Preferences>Team>Git: Git repository locationĪs seen above, Default Repository Folder value is set to under user home directory instead of under project folder. ConfigurationĮGit comes with its own git distribution so we don't have to specify an external git path. I'm selecting everything except for the experimental stuff:Ĭlick next and follow the rest of the steps. The update version of EGit is newer than the pre installed one, so let's install that. ![]() Let's get EGit update site link from here and try to install that, just to see if they have newer version. To check if it is installed for you, go to Help> About Eclipse IDE > Installation Details, I see following entries: In recent versions of Eclipse, EGit is already installed by default. Eclipse IDE supports Git via a plugin EGit.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |