izeye
Monday, July 27, 2015
Get the latest commid ID in Get
To get the latest commid ID in Get,
use the following command:
$ git log --format="%H" -n 1
Reference:
http://stackoverflow.com/questions/19176359/how-to-get-the-last-commit-id-of-a-remote-repo-using-curl-like-command
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment