Why does Project environment has an internal .gitignore?

8 visualizaciones (últimos 30 días)
Sethu Pavan Pastula
Sethu Pavan Pastula el 30 de Sept. de 2021
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

Respuestas (0)

Categorías

Más información sobre Source Control en Help Center y File Exchange.

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by