git - Mapping between software version and commit hashes? -


i looking way map deployed software corresponding commit. user clicks on -> info , dialog contains hash number.

is there way this?

to honest, don't think so. how setting link between commits , deployed software?

this simple do.

during deploy or build step, need way of querying git on command line , extracting latest commit hash. same process need store hash in file application code programmed read. luck!


Comments

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -