Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8731217
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T09:11:00+00:00 2026-06-13T09:11:00+00:00

I used github for mac this morning. did a commit locally of a massive

  • 0

I used github for mac this morning. did a commit locally of a massive number of changes, worked ok. Then tried to sync that’s where something went wrong
My unsynced commit didn’t show in the list anymore, but the online repository wasn’t updated and my local files have been reverted to the previous online repository’s state

Did I just loose days of work with a simple click? Or can I actually restore what I did because the local commit worked! But it looks like it disappeared, it doesn’t appear anywhere in the software

It’s like all the work I put up never happened, vanished

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T09:11:01+00:00Added an answer on June 13, 2026 at 9:11 am

    I don’t think you lost all your work. If you committed locally your work should remain in the git repo. Please refer to the git log command.
    Try something like

    git log --full-history
    

    or

    git log --sparse
    

    If you found the SHA1 ID you can try git cherry-pick to grab this commit and put it on top of your actual state.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I did an evil thing in github: used rebase, then push --force. This was
I've used this code https://github.com/johannilsson/android-pulltorefresh It all works perfectly apart from one thing, when
I used this ( https://github.com/cheald/floatingFixed ) Javascript to create social sharing bar on my
I used this star rating system at https://github.com/dlinsin/DLStarRating the gesture is working fine however
I have heard this term used for managing a code base in GitHub. What
I'm looking at github as a source control repository. I've never used it and
I'm using the WMD editor https://github.com/derobins/wmd/ (similar to as used on Stack Overflow) to
Is anyone used put, get, post, delete annotations(https://github.com/FriendsOfSymfony/FOSRestBundle/blob/master/Controller/Annotations/) in controller. I'm trying to use
What syntax highlighting is used on GitHub (for HTML, CSS, JavaScript, C#) when viewing
What blog software and theme is used at http://mmcgrana.github.com/ ? (e.g. Wordpress with Forest

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.