Thank for your replies. Tags look to be the solution I need, so I have an extra question: can I use the same tag for multiple commits?
My idea is to tag all the commits that I will deploy in production with the same annotated tag ("deployed" for instance) so when I run got show deployed I can see the list of all and only the deployed commits. Thanks again Sig On Jan 20, 9:18 am, Jeenu <gro...@jeenuv.otherinbox.com> wrote: > On Jan 19, 7:59 am, Macsig <sigbac...@gmail.com> 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 github@googlegroups.com. To unsubscribe from this group, send email to github+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/github?hl=en.