Hey Sig,

The way that I handle this is by using tags. I generally make many commits
on my development machine and then when I'm ready to release, I'll tag that
version. Then every time I'm about to do a pull on our production machine, I
can run

    git tag --list

to see what the current version is. Also, when you do the git pull, it will
show you any new tags, and thus shows you any new versions.

Hope this helps!

--
Topher Fangio

System Architect
Pharos Resources

office: 325.216.2908
mobile: 325.660.7141


On Tue, Jan 18, 2011 at 9:22 PM, Alex <blackange...@gmail.com> wrote:

> Hi Sig,
>
>            when you pull the latest version from an toer machine(b),
>  indeed ,  it's a other branch  , right ?
>
>             git log --pretty=format:"%h %ad | %s%d [%an]" --graph
> --date=short
>
>            you can see your pull  from which branch,   hope to help u.
>
>
>
>
> On 2011-1-19, at 上午10:59, Macsig 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?
>>
>> Thanks
>>
>>
>> Sig
>>
>> --
>> 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<github%2bunsubscr...@googlegroups.com>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/github?hl=en.
>>
>>
> --
> 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<github%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/github?hl=en.
>
>

-- 
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.

Reply via email to