Hey,
I made a local commit and tried pushing it to bitbucket. It didn't work so I started playing around.. I hit git-flow and hit the default option and OK.. Now all my code has reverted to the original! I've lost all my hour's work...
Is there a way to switch back to pre-git-flow??
I got it back! I didn't stash it or anything...
I found the head ref. no of the old commit in one of the files in .git folder and manually changed the actual head to that code. And boom.
Whew. Moving to a mac is painful.
Ouch.
I hate to be the harbringer of bad news, but I think that your lost commit is hosed. Did you stash or anything before you did it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I got it back! I didn't stash it or anything...
I found the head ref. no of the old commit in one of the files in .git folder and manually changed the actual head to that code. And boom.
Whew. Moving to a mac is painful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yay! Glad you got your stuff back.
I've been on a mac professionally for years now. After you get used to it... I swear I get a lot more work done than when I was on windows. Maybe it's just selection bias.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.