On Jan 19, 7:59 am, Macsig <[email protected]> wrote: > Hello all, > let us say I usually push several commits to my repo from a machine > (A) and sometimes I pull the latest version from an other machine (B). > Is there a command to know what was the former commit pulled from B?
Pull is actually two operations combined - a 'fetch' followed by a 'merge'. So I guess what you want to know is the log of the latest commit fetched from your repo. If that's the case, you should be looking at 'git show FETCH_HEAD'. FETCH_HEAD contains the latest fetched HEAD from the remote. See git help fetch. HTH. -- Jeenu -- You received this message because you are subscribed to the Google Groups "GitHub" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/github?hl=en.
