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.


Reply via email to