I wish to commit a workspace to a git repo to collaborate on a MCUXpresso project. What files are required to ensure proper handoff of the workspace.
I would like to minimize the number of files in the git repo that need to be passed back and forth and build a good .gitignore so others can ignore their own workspace material when committing as well.
Thanks.
Thanks, I tried these lines in my .gitignore and things still seemed to be portable...
# MCUXpresso
/.metadata/
/*logs/
You absolutely have to ignore as well the output folder (debug, release, etc).
Plus you really might want to ignore the .settings folder too.
Erich
Thanks for your suggestions
Working through handing a project back and forth, we found that there is one .settings file that is vital...
<proj name>/.settings/language.settings.xml
This worked well for .gitignore additions with the above exception:
# MCUXpresso Workspace Level
/.metadata/
/*logs/
# MCUXpresso Project Level
*.axf
*.su
*.o
*.d
*.map
*.bin
/.settings/
See https://mcuoneclipse.com/2018/09/30/tutorial-git-with-eclipse/
You can find an example of .gitignore here:
I hope this helps,
Erich