Pretty weird. I would try cloning again from heroku and seeing if the
commit shows up.

On Wed, Jan 30, 2013 at 10:53 AM, Shahruk Khan <[email protected]>wrote:

> $ git show 8d4f84a
> fatal: ambiguous argument '8d4f84a': unknown revision or path not in the
> working
>  tree.
> Use '--' to separate paths from revisions
>
>
> On Wed, Jan 30, 2013 at 1:49 PM, Peter Keen <[email protected]>wrote:
>
>> You're running the git commands inside the directory that you cloned from
>> Heroku, correct? You should have said something like "git clone
>> [email protected]:your-app-name.git", and then "cd your-app-name". Then you
>> should be able to say "git show 8d4f84a" and see the contents of that
>> commit. Does that work?
>>
>>
>> On Wed, Jan 30, 2013 at 10:41 AM, Shahruk Khan 
>> <[email protected]>wrote:
>>
>>> v299  Rollback to v284  [email protected]  2013/01/29 23:57:07 (~
>>> 13h ago)
>>>
>>> v298  Rollback to v296  [email protected]  2013/01/29 23:51:00 (~
>>> 13h ago)
>>>
>>> v297  Rollback to v295  [email protected]  2013/01/29 23:50:53 (~
>>> 13h ago)
>>>
>>> v296  Rollback to v294  [email protected]  2013/01/29 23:48:34 (~
>>> 13h ago)
>>>
>>> v295  Deploy eb64161    [email protected]  2013/01/29 23:44:30 (~
>>> 13h ago)
>>>
>>> v294  Deploy 9dec751    [email protected]  2013/01/29 23:41:30 (~
>>> 13h ago)
>>>
>>> v293  Deploy 22773be    [email protected]  2013/01/29 23:40:39 (~
>>> 14h ago)
>>>
>>> v292  Rollback to v290  [email protected]  2013/01/29 23:32:24 (~
>>> 14h ago)
>>>
>>> v291  Rollback to v289  [email protected]  2013/01/29 23:31:40 (~
>>> 14h ago)
>>>
>>> v290  Rollback to v288  [email protected]  2013/01/29 23:28:51 (~
>>> 14h ago)
>>>
>>> v289  Deploy 63e176e    [email protected]  2013/01/29 23:26:36 (~
>>> 14h ago)
>>>
>>> v288  Deploy 2c16587    [email protected]  2013/01/29 23:22:12 (~
>>> 14h ago)
>>>
>>> v287  Deploy fd32c1d    [email protected]  2013/01/29 23:17:18 (~
>>> 14h ago)
>>>
>>> v286  Deploy 076e9bb    [email protected]  2013/01/29 23:14:08 (~
>>> 14h ago)
>>>
>>> v285  Deploy 8d4f84a    [email protected]  2013/01/29 23:12:11 (~
>>> 14h ago)
>>>
>>>
>>> On Wed, Jan 30, 2013 at 1:39 PM, Peter Keen <[email protected]>wrote:
>>>
>>>> And the output, please, at least from heroku releases.
>>>>
>>>>
>>>> On Wed, Jan 30, 2013 at 10:38 AM, Shahruk Khan <[email protected]
>>>> > wrote:
>>>>
>>>>> heroku releases
>>>>> git reset --hard 8d4f84a
>>>>>
>>>>>
>>>>> On Wed, Jan 30, 2013 at 1:37 PM, Peter Keen 
>>>>> <[email protected]>wrote:
>>>>>
>>>>>> Paste us the exact commands you used and the complete output you
>>>>>> received.
>>>>>>
>>>>>>
>>>>>> On Wed, Jan 30, 2013 at 10:35 AM, Shahruk Khan <
>>>>>> [email protected]> wrote:
>>>>>>
>>>>>>> "Unknown revision or path not found in the working tree."
>>>>>>>
>>>>>>>
>>>>>>> On Wed, Jan 30, 2013 at 1:17 PM, Peter Keen <
>>>>>>> [email protected]> wrote:
>>>>>>>
>>>>>>>> "heroku rollback" just rolls back to a previous release. It has
>>>>>>>> nothing to do with git. Your "git reset" also did not generate a new
>>>>>>>> commit, it just changed what the master branch pointed at. If you do
>>>>>>>> "heroku releases" you should see the exact commit hash (i.e. "Deploy
>>>>>>>> 8fb3ce7") that was deployed, and the rollback will point at a previous
>>>>>>>> release.
>>>>>>>>
>>>>>>>> To get to the state that is currently running on Heroku, find the
>>>>>>>> commit hash that the currently-running release points at (it will say
>>>>>>>> something like "Rolled back to v88", so go to v88 and get the commit 
>>>>>>>> hash)
>>>>>>>> and then "git reset --hard your-commit-hash".
>>>>>>>>
>>>>>>>> On Wed, Jan 30, 2013 at 10:12 AM, Shahruk Khan <
>>>>>>>> [email protected]> wrote:
>>>>>>>>
>>>>>>>>> All I see are the commits for December 7th and before.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Wed, Jan 30, 2013 at 12:38 PM, Peter van Hardenberg <
>>>>>>>>> [email protected]> wrote:
>>>>>>>>>
>>>>>>>>>> You can't FTP - that's not a feature Heroku supports. It sounds
>>>>>>>>>> like you might want to spend a little bit of time familiarizing 
>>>>>>>>>> yourself
>>>>>>>>>> better with Git. Once you get the hang of it, it's a much more 
>>>>>>>>>> powerful
>>>>>>>>>> tool than FTP but it takes a little getting used to. Don't worry, 
>>>>>>>>>> though,
>>>>>>>>>> your code should be safe and there in your git repo while you learn 
>>>>>>>>>> (try $
>>>>>>>>>> git log and you'll see all the history of your project) just make 
>>>>>>>>>> sure you
>>>>>>>>>> don't push to that same Heroku app until you're confidant you have 
>>>>>>>>>> the
>>>>>>>>>> right version of things.
>>>>>>>>>>
>>>>>>>>>> Best of luck,
>>>>>>>>>> Peter
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Wed, Jan 30, 2013 at 9:27 AM, Shahruk Khan <
>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>
>>>>>>>>>>> How do you FTP?
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Jan 30, 2013, at 12:08 PM, Mark Pundsack <[email protected]>
>>>>>>>>>>> wrote:
>>>>>>>>>>>
>>>>>>>>>>> The repo and the running app's slug are separate. When you
>>>>>>>>>>> rollback, you just point back to an old complied slug.  Sounds like 
>>>>>>>>>>> you
>>>>>>>>>>> might have force pushed to your repo which may have destroyed your 
>>>>>>>>>>> recent
>>>>>>>>>>> changes. The code might still be in there, but the log history is 
>>>>>>>>>>> hidden.
>>>>>>>>>>> But not all is lost.
>>>>>>>>>>>
>>>>>>>>>>> Try heroku run bash to get a shell running on your slug. All of
>>>>>>>>>>> your code will be there. I'm not positive, but you might even be 
>>>>>>>>>>> able to
>>>>>>>>>>> run git commands and find the commit hash you're looking for. Worst 
>>>>>>>>>>> case,
>>>>>>>>>>> you can at least FTP or otherwise get your code out again.
>>>>>>>>>>>
>>>>>>>>>>> Mark
>>>>>>>>>>>
>>>>>>>>>>> On Jan 30, 2013, at 8:27 AM, Shahruk Khan <
>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>
>>>>>>>>>>> Really all I want to do is clone the current slug that is live
>>>>>>>>>>> on heroku right now.
>>>>>>>>>>>
>>>>>>>>>>> On Jan 30, 2013, at 11:16 AM, Jeff Schmitz <
>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>
>>>>>>>>>>> The heroku rollback is not a git command, and does not modify
>>>>>>>>>>> the repo from what I can tell.  This does not have a thing to do 
>>>>>>>>>>> with your
>>>>>>>>>>> OS reinstall I think.
>>>>>>>>>>>
>>>>>>>>>>> See
>>>>>>>>>>> http://stackoverflow.com/questions/9898286/heroku-rollback-didnt-update-the-head-remote-branch-did-it
>>>>>>>>>>>
>>>>>>>>>>> Heroku just deploys a previous version of your master branch.
>>>>>>>>>>>
>>>>>>>>>>> jeff
>>>>>>>>>>>
>>>>>>>>>>> On Wed, Jan 30, 2013 at 9:36 AM, Shahruk Khan <
>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> 1) git commit -m "Blahblahblah" git push
>>>>>>>>>>>> 2) heroku rollback
>>>>>>>>>>>> 3) OS reinstall
>>>>>>>>>>>> 4) Git clone [email protected]:app.git <-- This does NOT clone
>>>>>>>>>>>> the heroku rolled back version.
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> On Wednesday, January 30, 2013 12:09:17 AM UTC-5, Shahruk Khan
>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>> My hard drive crashed and I rolled my heroku files back. When
>>>>>>>>>>>>> I do a commit, it only pulls the latest version of the website, 
>>>>>>>>>>>>> not the
>>>>>>>>>>>>> rollback. How can I git clone the rollback off heroku?
>>>>>>>>>>>>
>>>>>>>>>>>>  --
>>>>>>>>>>>> --
>>>>>>>>>>>> You received this message because you are subscribed to the
>>>>>>>>>>>> Google
>>>>>>>>>>>> Groups "Heroku" group.
>>>>>>>>>>>>
>>>>>>>>>>>> To unsubscribe from this group, send email to
>>>>>>>>>>>> [email protected]
>>>>>>>>>>>> For more options, visit this group at
>>>>>>>>>>>> http://groups.google.com/group/heroku?hl=en_US?hl=en
>>>>>>>>>>>>
>>>>>>>>>>>> ---
>>>>>>>>>>>> You received this message because you are subscribed to the
>>>>>>>>>>>> Google Groups "Heroku Community" group.
>>>>>>>>>>>> To unsubscribe from this group and stop receiving emails from
>>>>>>>>>>>> it, send an email to [email protected].
>>>>>>>>>>>> For more options, visit
>>>>>>>>>>>> https://groups.google.com/groups/opt_out.
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>  --
>>>>>>>>>>> --
>>>>>>>>>>> You received this message because you are subscribed to the
>>>>>>>>>>> Google
>>>>>>>>>>> Groups "Heroku" group.
>>>>>>>>>>>
>>>>>>>>>>> To unsubscribe from this group, send email to
>>>>>>>>>>> [email protected]
>>>>>>>>>>> For more options, visit this group at
>>>>>>>>>>> http://groups.google.com/group/heroku?hl=en_US?hl=en
>>>>>>>>>>>
>>>>>>>>>>> ---
>>>>>>>>>>> You received this message because you are subscribed to the
>>>>>>>>>>> Google Groups "Heroku Community" group.
>>>>>>>>>>> To unsubscribe from this group and stop receiving emails from
>>>>>>>>>>> it, send an email to [email protected].
>>>>>>>>>>> For more options, visit https://groups.google.com/groups/opt_out
>>>>>>>>>>> .
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>  --
>>>>>>>>>>> --
>>>>>>>>>>> You received this message because you are subscribed to the
>>>>>>>>>>> Google
>>>>>>>>>>> Groups "Heroku" group.
>>>>>>>>>>>
>>>>>>>>>>> To unsubscribe from this group, send email to
>>>>>>>>>>> [email protected]
>>>>>>>>>>> For more options, visit this group at
>>>>>>>>>>> http://groups.google.com/group/heroku?hl=en_US?hl=en
>>>>>>>>>>>
>>>>>>>>>>> ---
>>>>>>>>>>> You received this message because you are subscribed to the
>>>>>>>>>>> Google Groups "Heroku Community" group.
>>>>>>>>>>> To unsubscribe from this group and stop receiving emails from
>>>>>>>>>>> it, send an email to [email protected].
>>>>>>>>>>> For more options, visit https://groups.google.com/groups/opt_out
>>>>>>>>>>> .
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>  --
>>>>>>>>>>> --
>>>>>>>>>>> You received this message because you are subscribed to the
>>>>>>>>>>> Google
>>>>>>>>>>> Groups "Heroku" group.
>>>>>>>>>>>
>>>>>>>>>>> To unsubscribe from this group, send email to
>>>>>>>>>>> [email protected]
>>>>>>>>>>> For more options, visit this group at
>>>>>>>>>>> http://groups.google.com/group/heroku?hl=en_US?hl=en
>>>>>>>>>>>
>>>>>>>>>>> ---
>>>>>>>>>>> You received this message because you are subscribed to the
>>>>>>>>>>> Google Groups "Heroku Community" group.
>>>>>>>>>>> To unsubscribe from this group and stop receiving emails from
>>>>>>>>>>> it, send an email to [email protected].
>>>>>>>>>>> For more options, visit https://groups.google.com/groups/opt_out
>>>>>>>>>>> .
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>  --
>>>>>>>>>>> --
>>>>>>>>>>> You received this message because you are subscribed to the
>>>>>>>>>>> Google
>>>>>>>>>>> Groups "Heroku" group.
>>>>>>>>>>>
>>>>>>>>>>> To unsubscribe from this group, send email to
>>>>>>>>>>> [email protected]
>>>>>>>>>>> For more options, visit this group at
>>>>>>>>>>> http://groups.google.com/group/heroku?hl=en_US?hl=en
>>>>>>>>>>>
>>>>>>>>>>> ---
>>>>>>>>>>> You received this message because you are subscribed to the
>>>>>>>>>>> Google Groups "Heroku Community" group.
>>>>>>>>>>> To unsubscribe from this group and stop receiving emails from
>>>>>>>>>>> it, send an email to [email protected].
>>>>>>>>>>> For more options, visit https://groups.google.com/groups/opt_out
>>>>>>>>>>> .
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>  --
>>>>>>>>>> --
>>>>>>>>>> You received this message because you are subscribed to the Google
>>>>>>>>>> Groups "Heroku" group.
>>>>>>>>>>
>>>>>>>>>> To unsubscribe from this group, send email to
>>>>>>>>>> [email protected]
>>>>>>>>>> For more options, visit this group at
>>>>>>>>>> http://groups.google.com/group/heroku?hl=en_US?hl=en
>>>>>>>>>>
>>>>>>>>>> ---
>>>>>>>>>> You received this message because you are subscribed to the
>>>>>>>>>> Google Groups "Heroku Community" group.
>>>>>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>>>>>>>>> send an email to [email protected].
>>>>>>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>  --
>>>>>>>>> --
>>>>>>>>> You received this message because you are subscribed to the Google
>>>>>>>>> Groups "Heroku" group.
>>>>>>>>>
>>>>>>>>> To unsubscribe from this group, send email to
>>>>>>>>> [email protected]
>>>>>>>>> For more options, visit this group at
>>>>>>>>> http://groups.google.com/group/heroku?hl=en_US?hl=en
>>>>>>>>>
>>>>>>>>> ---
>>>>>>>>> You received this message because you are subscribed to the Google
>>>>>>>>> Groups "Heroku Community" group.
>>>>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>>>>>>>> send an email to [email protected].
>>>>>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>  --
>>>>>>>> --
>>>>>>>> You received this message because you are subscribed to the Google
>>>>>>>> Groups "Heroku" group.
>>>>>>>>
>>>>>>>> To unsubscribe from this group, send email to
>>>>>>>> [email protected]
>>>>>>>> For more options, visit this group at
>>>>>>>> http://groups.google.com/group/heroku?hl=en_US?hl=en
>>>>>>>>
>>>>>>>> ---
>>>>>>>> You received this message because you are subscribed to the Google
>>>>>>>> Groups "Heroku Community" group.
>>>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>>>>>>> send an email to [email protected].
>>>>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>  --
>>>>>>> --
>>>>>>> You received this message because you are subscribed to the Google
>>>>>>> Groups "Heroku" group.
>>>>>>>
>>>>>>> To unsubscribe from this group, send email to
>>>>>>> [email protected]
>>>>>>> For more options, visit this group at
>>>>>>> http://groups.google.com/group/heroku?hl=en_US?hl=en
>>>>>>>
>>>>>>> ---
>>>>>>> You received this message because you are subscribed to the Google
>>>>>>> Groups "Heroku Community" group.
>>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>>>>>> send an email to [email protected].
>>>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>  --
>>>>>> --
>>>>>> You received this message because you are subscribed to the Google
>>>>>> Groups "Heroku" group.
>>>>>>
>>>>>> To unsubscribe from this group, send email to
>>>>>> [email protected]
>>>>>> For more options, visit this group at
>>>>>> http://groups.google.com/group/heroku?hl=en_US?hl=en
>>>>>>
>>>>>> ---
>>>>>> You received this message because you are subscribed to the Google
>>>>>> Groups "Heroku Community" group.
>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>>>>> send an email to [email protected].
>>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>  --
>>>>> --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "Heroku" group.
>>>>>
>>>>> To unsubscribe from this group, send email to
>>>>> [email protected]
>>>>> For more options, visit this group at
>>>>> http://groups.google.com/group/heroku?hl=en_US?hl=en
>>>>>
>>>>> ---
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "Heroku Community" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to [email protected].
>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>
>>>>>
>>>>>
>>>>
>>>>  --
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Heroku" group.
>>>>
>>>> To unsubscribe from this group, send email to
>>>> [email protected]
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/heroku?hl=en_US?hl=en
>>>>
>>>> ---
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Heroku Community" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to [email protected].
>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>
>>>>
>>>>
>>>
>>>  --
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Heroku" group.
>>>
>>> To unsubscribe from this group, send email to
>>> [email protected]
>>> For more options, visit this group at
>>> http://groups.google.com/group/heroku?hl=en_US?hl=en
>>>
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "Heroku Community" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>>
>>>
>>
>>  --
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Heroku" group.
>>
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/heroku?hl=en_US?hl=en
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Heroku Community" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>  --
> --
> You received this message because you are subscribed to the Google
> Groups "Heroku" group.
>
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/heroku?hl=en_US?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Heroku Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Heroku" group.

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en_US?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Heroku Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to