2

Spent like all week working on a feature set in a web app, finally got to a point where i thought it was functioning well, ran tests, tests passed.

I was exhausted but happy. All along i have been pushing to my GitLab server. I save my commits and even though exhausted, i am happy as i go to bed.

I wake up, run some errands and my business partner says, eh! Can i come see that new feature set you built, sure, i will be home soon.

I was at the barbershop, trying to look like a human being again. I get home boot my computer and i scream.....

Arrrrrrrrrrrrrrgh

I check GitLab, i check my Git Log and i start to sweat, i was in the air conditioner but it felt like someone turned the heat up.

Git log shows my last commit was 2 days ago, my app is at the state it was 2 days ago and i can't frigging find all i have built.

I need to show this to the client, have no idea what to do now, so stressful. My partner say, you know what, just watch a movie. You built it before, you will do it again.

This happened to him a while ago and i gave him similar advice, it felt wicked hearing it now.

Anyways, i have to build that ish all over again, i do know i wasn't dreaming about having built it. I asked my wife and she said, i did, i was always working. So confusing.

Anyone experienced this before, i have no idea how to find my code.

Help Meeeeeeeeeeeeeeeeeeeee

Comments
  • 1
    Branches?
    Log?
    Stash?
    Orphaned commits?

    `history | grep git` ?
  • 1
    @Root I was working on a different branch, this is the branch i have the issue on. The integrity of my app is intact on the other branches
  • 1
    6 times out of ten, you were working in the wrong repo on your hd, that was connected to another project, or there was no remote repo attached at all.
    try to search your whole hd for one the files you kniw you worked on....
  • 0
    @magicMirror That's not the case, i have a very well structured folder setup for my apps and i haven't stepped out of the current project folder.

    Could shed more light on what you implied
Add Comment