Hello guys.
I've successfully installed eGIT into my LPCXpresso v8.0.0 [Build 526] and starts to track my C/CC+ source files.
But currently I'm only able to control source files (.c, .cpp, .h); not the projects structure, configurations and settings.
For example when you add to source control a Microsoft .NET project (built with Visual Studio) you typically also add (at least) the solution file (.sln) and the project file (.csproj).
But a typical Eclipse projects has the .metadata folder with tons of subfolders and files.
Which file/folders must me tracked and which not?
I've also attached my .gitignore file.
Thanks in advance.
Diego B.
Original Attachment has been moved to: .gitignore.zip
解決済! 解決策の投稿を見る。
For Git (or any other SCCS), you only place the project under source control - i.e. the project directory (for Eclipse projects, this is where the .project and .cproject files are located). DO NOT try to place .metadata under source control.
@ Con Verse,
unfortunately this doesn't work for us. If we add .metadata to .gitignore, LPCXpresso will fail to open the projects in a fresh clone of the repo. This is very inconvenient because as the original poster mentioned, .metadata has tons of files and subfolders completely unrelated to the project.
We're investigating and will post a solution if we find one.
Suggest you read the eGit Tutorial at https://eclipsesource.com/blogs/tutorials/egit-tutorial/
However, you must NEVER place .metdataa under source control.
For Git (or any other SCCS), you only place the project under source control - i.e. the project directory (for Eclipse projects, this is where the .project and .cproject files are located). DO NOT try to place .metadata under source control.
Thank you.
Diego.