What files would need "git commit" to share an MCUXpresso workspace

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

What files would need "git commit" to share an MCUXpresso workspace

2,586 次查看
manderson107
Contributor I

 

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.

0 项奖励
回复
4 回复数

2,575 次查看
manderson107
Contributor I

Thanks, I tried these lines in my .gitignore and things still seemed to be portable...

# MCUXpresso
/.metadata/
/*logs/
0 项奖励
回复

2,573 次查看
ErichStyger
Specialist I

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

0 项奖励
回复

2,555 次查看
manderson107
Contributor I

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/


0 项奖励
回复

2,580 次查看
ErichStyger
Specialist I
0 项奖励
回复