git - After Installing Github for Mac Existing Project Reverted to Version About a Month Old -
i installed github mac. during setup process imported existing xcode project, open @ time. upon doing xcode prompted alert saying project had changed , asking if wanted re-save. opted resave because thought changes referring fact had added project git. didn't think actual code files changed in process. unfortunately happend project reverted version late march, costing me month , half of work.
does have suggestions how can undo damage caused? can't figure out why chose date in march revert to. perhaps last time committed code using xcode's source control. there's version in time machine can use restore project, @ least couple of weeks old. before doing wondering if there's better solution.
check git log
shows. list commits. if have commit, can restore source code point. (you by, instance git reset --hard <committish>
)
(if have done strange, can check git reflog
commits no longer shown git log
, not seem likely.)
unfortunately sounds last committed in march. in case time machine seems best option.
Comments
Post a Comment