How can I see the time of my last git pull? -


i did git pull want know @ time happened. there way of checking time of pull? note no changes came in when did pull. perhaps ssh connection logged? want check on local machine rather on server. using linux, git version 2.3.3.

git writes fetch_head file every time pull or fetch, if there nothing pull. file can found at: .git/fetch_head. check last modification time of file.

in linux can use following check last modified time:

date +%s -r .git/fetch_head 

on osx can following last modified time:

stat -f "%m" .git/fetch_head 

Comments

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

gradle error "Cannot convert the provided notation to a File or URI" -

python - NameError: name 'subprocess' is not defined -