Get Git Info

Versión 1.0.0.0 (2,94 KB) por Andrew
Provides info about the current git repository, including branch name, url and hash.
1,2K descargas
Actualizado 12 sep 2011

Ver licencia

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.

Citar como

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

Compatibilidad con la versión de MATLAB
Se creó con R2010b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Source Control Integration en Help Center y MATLAB Answers.
Etiquetas Añadir etiquetas
Agradecimientos

Inspiración para: Amplitude Transceiver

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.0.0.0