.gitignore recommendations/suggestions for CodeWarrior 11 with Processor Expert

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

.gitignore recommendations/suggestions for CodeWarrior 11 with Processor Expert

跳至解决方案
2,546 次查看
Alex_ODonnell
Contributor II

I know this question has been asked for MCUXpresso, but I can't find it for CodeWarrior 11.

Between log files, history, metadata, settings, and generated files I am finding my first commit of a Processor Expert project for and S08 is 150 files, or there abouts, even after a `clean all`.

I'm trying to piece together a safe `.gitignore` that will keep the essential project configuration, and not any generated file.  I'm not even sure I want settings for the GUI layout as every team member is using a different view.

Related conversations seem to be:

Thanks

Alex

0 项奖励
回复
1 解答
2,488 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @Alex_ODonnell 

How about refer to Erich's blog:

https://mcuoneclipse.com/2013/03/29/version-control-with-processor-expert-projects/ 

Please contact me if still have any issue.

 

BR

Alice

在原帖中查看解决方案

0 项奖励
回复
3 回复数
2,489 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @Alex_ODonnell 

How about refer to Erich's blog:

https://mcuoneclipse.com/2013/03/29/version-control-with-processor-expert-projects/ 

Please contact me if still have any issue.

 

BR

Alice

0 项奖励
回复
2,476 次查看
Alex_ODonnell
Contributor II

Hi Alice,

I managed to fix my .gitignore over the weekend, mostly thanks to Erich's blog.

The linked page really helped with the Processor Expert files.

With the help of other pages on the blog, I realized that my big mistake had been adding my workspace to my repository and not just the projects.

As of now, my project safely moves from machine to machine via GitHub.  I am getting identical binaries from my development machine and my build system. No files were lost, and no large number of log, lock, and config files asked to be updated every time I clean or build.

Cheers

Alex

0 项奖励
回复
2,478 次查看
Alex_ODonnell
Contributor II

Hi Alice,

I managed to fix my .gitignore over the weekend, mostly thanks to Erich's blog.

The linked page really helped with the Processor Expert files.

With the help of other pages on the blog, I realized that my big mistake had been adding my workspace to my repository and not just the projects.

As of now, my project safely moves from machine to machine via GitHub.  I am getting identical binaries from my development machine and my build system. No files were lost, and no large number of log, lock, and config files asked to be updated every time I clean or build.

Cheers

Alex

0 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-1941452%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E.gitignore%20%E9%92%88%E5%AF%B9%E5%B8%A6%E6%9C%89%20Processor%20Expert%20%E7%9A%84%20CodeWarrior%2011%20%E7%9A%84%E5%BB%BA%E8%AE%AE%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1941452%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E6%88%91%E7%9F%A5%E9%81%93%E8%BF%99%E4%B8%AA%E9%97%AE%E9%A2%98%E6%98%AF%E9%92%88%E5%AF%B9%20MCUXpresso%20%E6%8F%90%E5%87%BA%E7%9A%84%EF%BC%8C%E4%BD%86%E6%88%91%E6%89%BE%E4%B8%8D%E5%88%B0%E9%92%88%E5%AF%B9%20CodeWarrior%2011%20%E7%9A%84%E3%80%82%3CBR%20%2F%3E%3CBR%20%2F%3E%E5%9C%A8%E6%97%A5%E5%BF%97%E6%96%87%E4%BB%B6%E3%80%81%E5%8E%86%E5%8F%B2%E8%AE%B0%E5%BD%95%E3%80%81%E5%85%83%E6%95%B0%E6%8D%AE%E3%80%81%E8%AE%BE%E7%BD%AE%E5%92%8C%E7%94%9F%E6%88%90%E7%9A%84%E6%96%87%E4%BB%B6%E4%B9%8B%E9%97%B4%EF%BC%8C%E6%88%91%E5%8F%91%E7%8E%B0%E6%88%91%E7%AC%AC%E4%B8%80%E6%AC%A1%E6%8F%90%E4%BA%A4%E7%9A%84%E5%A4%84%E7%90%86%E5%99%A8%E4%B8%93%E5%AE%B6%E9%A1%B9%E7%9B%AE%E5%92%8C%20S08%20%E6%9C%89%20150%20%E4%B8%AA%E6%96%87%E4%BB%B6%EF%BC%8C%E6%88%96%E8%80%85%E5%A4%A7%E7%BA%A6%E6%9C%89%20150%20%E4%B8%AA%E6%96%87%E4%BB%B6%EF%BC%8C%E5%8D%B3%E4%BD%BF%E5%9C%A8%E2%80%9C%E5%85%A8%E9%83%A8%E6%B8%85%E9%99%A4%E2%80%9D%E4%B9%8B%E5%90%8E%E4%B9%9F%E6%98%AF%E5%A6%82%E6%AD%A4%E3%80%82%3CBR%20%2F%3E%3CBR%20%2F%3E%E6%88%91%E6%AD%A3%E5%9C%A8%E5%B0%9D%E8%AF%95%E6%8B%BC%E5%87%91%E4%B8%80%E4%B8%AA%E5%AE%89%E5%85%A8%E7%9A%84%E2%80%9C.gitignore%E2%80%9D%EF%BC%8C%E5%AE%83%E5%B0%86%E4%BF%9D%E7%95%99%E5%BF%85%E8%A6%81%E7%9A%84%E9%A1%B9%E7%9B%AE%E9%85%8D%E7%BD%AE%EF%BC%8C%E8%80%8C%E4%B8%8D%E6%98%AF%E4%BB%BB%E4%BD%95%E7%94%9F%E6%88%90%E7%9A%84%E6%96%87%E4%BB%B6%E3%80%82%E6%88%91%E7%94%9A%E8%87%B3%E4%B8%8D%E7%A1%AE%E5%AE%9A%E6%88%91%E6%98%AF%E5%90%A6%E6%83%B3%E8%A6%81%E8%AE%BE%E7%BD%AE%20GUI%20%E5%B8%83%E5%B1%80%EF%BC%8C%E5%9B%A0%E4%B8%BA%E6%AF%8F%E4%B8%AA%E5%9B%A2%E9%98%9F%E6%88%90%E5%91%98%E9%83%BD%E4%BD%BF%E7%94%A8%E4%B8%8D%E5%90%8C%E7%9A%84%E8%A7%86%E5%9B%BE%E3%80%82%3CBR%20%2F%3E%3CBR%20%2F%3E%E7%9B%B8%E5%85%B3%E5%AF%B9%E8%AF%9D%E4%BC%BC%E4%B9%8E%E6%98%AF%EF%BC%9A%3C%2FP%3E%3CUL%3E%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FMCUXpresso-General%2FMCUXpresso-What-To-Commit-To-Repository%2Fm-p%2F1581892%22%20target%3D%22_blank%22%3EMCUXpresso%20-%20%E9%9C%80%E8%A6%81%E6%8F%90%E4%BA%A4%E5%93%AA%E4%BA%9B%E5%86%85%E5%AE%B9%E5%88%B0%E5%AD%98%E5%82%A8%E5%BA%93%EF%BC%9F%20-%20NXP%20%E7%A4%BE%E5%8C%BA%3C%2FA%3E%3C%2FLI%3E%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FKinetis-Microcontrollers%2FMCUXpresso-IDE%2Fm-p%2F1867964%22%20target%3D%22_blank%22%3EMCUXpresso%20IDE%20-%20NXP%20%E7%A4%BE%E5%8C%BA%3C%2FA%3E%3C%2FLI%3E%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FMCX-Microcontrollers%2FFiles-that-should-be-put-under-source-control%2Fm-p%2F1865843%22%20target%3D%22_blank%22%3E%E5%B7%B2%E8%A7%A3%E5%86%B3%EF%BC%9A%E5%BA%94%E7%BD%AE%E4%BA%8E%E6%BA%90%E4%BB%A3%E7%A0%81%E6%8E%A7%E5%88%B6%E4%B8%8B%E7%9A%84%E6%96%87%E4%BB%B6%20-%20NXP%20%E7%A4%BE%E5%8C%BA%3C%2FA%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%E8%B0%A2%E8%B0%A2%3CBR%20%2F%3E%3CBR%20%2F%3E%E4%BA%9A%E5%8E%86%E5%85%8B%E6%96%AF%3C%2FP%3E%3C%2FLINGO-BODY%3E