Get Git Info

Version 1.0.0.0 (2,94 KB) von Andrew
Provides info about the current git repository, including branch name, url and hash.
1,2K Downloads
Aktualisiert 12. Sep 2011

Lizenz anzeigen

Git is a powerful versioning tool that is compatible with Matlab. Sometimes it is useful to annotate data or figures with information about the current git repository.

This script gets the current git repository branch name and SHA1 hash. It also gets URL of the repositories corresponding remote repository.

Importantly, this script extracts all of the information from the .git/ folder directly, and thus this script does not make any calls to the program git itself.

Zitieren als

Andrew (2026). Get Git Info (https://de.mathworks.com/matlabcentral/fileexchange/32864-get-git-info), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2010b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Source Control finden Sie in Help Center und MATLAB Answers
Quellenangaben

Inspiriert: Amplitude Transceiver

Version Veröffentlicht Versionshinweise
1.0.0.0