Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I am new to GitHub and repositories in general. I created a repository and have been updating the files intermittently. The last time I tried something didn't seem to be working with the commit and I fiddled around in GitHub Desktop. I clicked on 'Branches' and 'Master; and it now appears that I pulled the whole Master branch into my local repo. That master was last updated 6 weeks ago.

I am asking if this is actually what (could have) happened. There was no warning but all of a sudden my local files are no longer the most recent version.

Before I start panicking (ok, too late), if this is indeed what happened, have I lost my most recent files or is there a way to revert back to what I had locally?

Something else may have happened that I am not aware of but I think this is what happened. Any help would be greatly appreciated as I am looking at having lost 6 weeks worth of coding. (And yes, I do understand I did not follow all proper procedures to safeguard my code from an event such as this).

question from:https://stackoverflow.com/questions/65946566/did-github-desktop-just-overwrite-my-local-files

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
231 views
Welcome To Ask or Share your Answers For Others

1 Answer

Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...