简体   繁体   中英

Git: Missing files after modified push request

I forked a repository from github, did a few changes and pushed them back to my github repository. I did a pull request and was told to change a few things. So I changed a few things, committed them and did a git push.

Problem is, the files werent added to my repository and instead the state of my repository was revoked to the state before my last changes. I cant find my changes in the history as well. Is there any chance I can save my work or do I have to do it again?

Do you see your new commit in Github? Do you see them locally? Have you pushed to another repo instead of your Github's one? A different branch?

Try looking at http://github.com/your_user/your_repo/network to see commits in chronological order. Maybe they're there in another branch.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM