Why does Project environment has an internal .gitignore?

8 次查看(过去 30 天)
I am working on a Project (.prj) environment/file with source control. According to the documentation, it is recommended that I use the 'MultiFile' definition file type to avoid merge conflicts, especially when working collaboratively which I am. So, I followed the steps to do it. Whenever I alter(add/remove files etc) something and I go to git bash and check files or when I commit, there are so many files belonging to 'resources' folder AKA project definition files but strangely, when I use the GUI source control section inside the Project menu, only 2-3 files can be seen when committed! This leaves me thinking that MATLAB has internally implemented a sort of .gitignore file to choose what to commit and what not.
The following shows the both scienarios : 1) Project pushed through terminal 2) My forked repo of (1) but pushed the Project with MATLAB GUI
How do I do the same without GUI? This is an issue itself. The Project source control section can only be accessed through GUI which is not very 'MATLAB'
Thanks in advance

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Source Control 的更多信息

产品


版本

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by