Hi Nickolai,
I understand that you are facing confusion when comparing against older revisions. MATLAB integrates with Git for source control, providing a basic set of features directly within the MATLAB environment. However, MATLAB's source control interface is not as comprehensive as dedicated Git clients or command-line tools.Here are a few workarounds you could consider:
- MATLAB Command Window: You can use Git commands directly in MATLAB's Command Window by prefixing them with an exclamation mark ! to access the system shell.
- Use a Dedicated Git Client: For more advanced Git operations and accurate commit history visualization, you can use a dedicated Git client (like GitKraken, SourceTree, or even the command-line interface). These tools provide a more accurate representation of the commit graph and allow for more complex operations.
- External Scripting: Write a script (in Bash, Python, etc.) that uses Git commands to fetch the commit history in the desired format. You can then call this script from MATLAB if needed.
Link to the documentation of using Git with MATLAB - https://www.mathworks.com/help/matlab/matlab_prog/use-git-in-matlab.html
Hope this helps.
Thank you