Re: [git-users] Getting back the latest commit

2011-05-10 Thread koshy Koshy
thx On Wed, May 11, 2011 at 8:36 AM, Adam Prescott wrote: > On Tue, May 10, 2011 at 11:30 PM, Konstantin Khomoutov < > flatw...@users.sourceforge.net> wrote: > >> On Tue, May 10, 2011 at 02:13:09PM -0700, koshy Koshy wrote: >> If the commit b was the tip of the branch and you did not do any >> c

Re: [git-users] Getting back the latest commit

2011-05-10 Thread Adam Prescott
On Tue, May 10, 2011 at 11:30 PM, Konstantin Khomoutov < flatw...@users.sourceforge.net> wrote: > On Tue, May 10, 2011 at 02:13:09PM -0700, koshy Koshy wrote: > If the commit b was the tip of the branch and you did not do any > checkouts after checking out a, then > $ git checkout ORIG_HEAD > shou

Re: [git-users] Getting back the latest commit

2011-05-10 Thread Konstantin Khomoutov
On Tue, May 10, 2011 at 02:13:09PM -0700, koshy Koshy wrote: > I have done 2 commits commit a then commit b. > Then I did a check out of commit a > However, I forgot the name of the commit b. > Git log does not show the last commit I did > It only shows upto current checkout. > How can i get back

[git-users] Getting back the latest commit

2011-05-10 Thread koshy Koshy
I have done 2 commits commit a then commit b. Then I did a check out of commit a However, I forgot the name of the commit b. Git log does not show the last commit I did It only shows upto current checkout. How can i get back commit b, -- You received this message because you are subscribed to the