![]() settings folder contains XML files with local plugin settings and are specific to the user. settings folder of the project (see discussions in the comments section of this article). The file is processed from the top to the bottom, with # used to start a comment line.Īs a general rule: ignore everything which is derived or generated as it would easily create conflicts in the repository.įor a list of things to be ignored for CodeWarrior and Processor Expert see here. To show them, use the "Filters and Customization" menu:Īnd then uncheck the *.resources setting: By default, the Project Explorer view hides all files starting with a dot. Git stores the list of files and folders to be ignored into a file named. gitignore to filter (hide) files or folders which should not end up in the repository. Select the repository to use and press Finish: Right-Click on the project and select Team > Share Project… With the repository configured, I can add an existing project to a repository. Press Finish and it will download repository content which might take a while depending on the data in the repository. Then specify the (new/empty) directory name where to clone the repository: Press next and select the desired branch (if any). If you want to make changes to a GitHub repository, clone it on GitHub to your own list of repository and use your repository URL. You won’t have access rights to push to that repository on GitHub. For this I use "clone":įor example, I can clone and use the McuOnEclipse repository on GitHub: Or I can clone from an existing repository, e.g. Then it asks me for the repository folder name:Īnd it adds it to the available repositories: Instead of using the shell, I can use it to create a new repository, too: Then browse to the repository folder and add it: the one I have created above with the shell): In Eclipse I switch to the Git perspective:įrom the Git perspective, I can add an existing repository (e.g. Git Perspective and Repository Setup in Eclipse Going forward, I will show how to use Eclipse (NXP MCUXpresso IDE 10.2) with EGit. Otherwise, use (or update) from the following Eclipse Update site (Help > Install New Software): Many Eclipse distributions already come with a Git client pre-installed, and the NXP MCUXpresso IDE comes with EGit, too. My preference for an Eclipse plugin is " EGit," for which I wrote an article how to install into CodeWarrior.
0 Comments
Leave a Reply. |