schmicko
schmicko

Reputation: 53

Can git tell me when a repo was pulled from origin

I'm trying to find out exactly when some part of a site went live by looking at the git logs.

My setup is like this:
- I have a local git repo where I'm doing development and testing and committing changes
- I push changes to a repo on my server
- when I am happy with the changes I pull them into a second repo on the same server which makes the changes live.

So I make changes, git commit, git push. Then ssh into the web server and git pull to deploy.

Using git log I can see when I made which commits but I can't work out how to tell when I did the git pull. Is this possible?

Upvotes: 2

Views: 251

Answers (1)

ellotheth
ellotheth

Reputation: 4523

Pulls should show up in the reflog, I think: git reflog --format=fuller

Upvotes: 3

Related Questions