git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Identifying the commit ID from which a repo was cloned
@ 2010-03-15 21:06 jateeq
  2010-03-15 22:32 ` Chris Packham
  0 siblings, 1 reply; 2+ messages in thread
From: jateeq @ 2010-03-15 21:06 UTC (permalink / raw)
  To: git


Hello,

Once I clone, make changes and commit several times, I need to determine how
many commits were made (and list them) since the repository was cloned. Does
git remember this commit, and is there a command that can do this, or do I
have to store the commit ID when i clone? 

Thank you,
Jawad
-- 
View this message in context: http://old.nabble.com/Identifying-the-commit-ID-from-which-a-repo-was-cloned-tp27910384p27910384.html
Sent from the git mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Identifying the commit ID from which a repo was cloned
  2010-03-15 21:06 Identifying the commit ID from which a repo was cloned jateeq
@ 2010-03-15 22:32 ` Chris Packham
  0 siblings, 0 replies; 2+ messages in thread
From: Chris Packham @ 2010-03-15 22:32 UTC (permalink / raw)
  To: jateeq; +Cc: git

On Mon, Mar 15, 2010 at 2:06 PM, jateeq <jawad_atiq@hotmail.com> wrote:
>
> Hello,
>
> Once I clone, make changes and commit several times, I need to determine how
> many commits were made (and list them) since the repository was cloned. Does
> git remember this commit, and is there a command that can do this, or do I
> have to store the commit ID when i clone?
>
> Thank you,
> Jawad
> --
> View this message in context: http://old.nabble.com/Identifying-the-commit-ID-from-which-a-repo-was-cloned-tp27910384p27910384.html
> Sent from the git mailing list archive at Nabble.com.
>
> --

The origin/master reference is what you need. Pretty much the same
answer as one of your other questions
http://article.gmane.org/gmane.comp.version-control.git/141414

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-03-15 22:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-15 21:06 Identifying the commit ID from which a repo was cloned jateeq
2010-03-15 22:32 ` Chris Packham

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).