Put 'minutes since last git commit' into my bash prompt

I use git, and I use bash.

I want my bash prompt to include the minutes / hours since my last commit, like so

project_folder (14 mins):

I don't know much about bash scripting, so it's up to you to work it out and give me the solution :)

Evner: Shell Script, UNIX

Se mere: minutes last commit, git minutes last commit, git prompt last commit, prompt git minutes last commit, bash minutes last commit, bash prompt minutes last commit, shell bash, bash 0, minutes work, last, git, commit, bash script, git bash shell script, git bash script, bash shell git, git bash shell, git shell git bash, prompt, script bash, unix solution, unix bash scripting, unix scripting, work minutes, unix shell

Om arbejdsgiveren:
( 0 bedømmelser ) Reading, United Kingdom

Projekt ID: #933079