"git reflog" will find the abandoned data and you can put a branch
pointer there again.

scott

On Thu, Sep 2, 2010 at 1:02 PM, Ben Greear <[email protected]> wrote:
> On 09/02/2010 10:55 AM, Tekkub wrote:
>>
>> Or just branch and commit before you use it.  `git reset` is really the
>> only git command that can lose data, and it will only lose uncommitted
>> data.  The lesson: commit early, commit often.  You can always undo a
>> commit, edit it or just abandon it, you can't undo a reset on
>> uncommitted data.
>
> It can easily loose committed data if you reset to before it was
> committed, unless there is a way to recover that data that I'm un-aware of?
>
> Thanks,
> Ben
>
> --
> Ben Greear <[email protected]>
> Candela Technologies Inc  http://www.candelatech.com
>
> --
> You received this message because you are subscribed to the Google Groups
> "GitHub" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> 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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/github?hl=en.

Reply via email to