Created
June 15, 2011 13:28
-
-
Save romanz/1027087 to your computer and use it in GitHub Desktop.
Git commit information from MATLAB
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function v = version() | |
[~, version] = git('--no-pager', 'log -n1 --format=format:"%h (%ci)"'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment