{"thread":{"id":"41227","subject":"GIT Question","startedAt":"2016-01-20T21:28:59Z","lastAt":"2016-01-22T17:58:16Z","messageCount":5,"participants":["Draggs, Tori","Johannes Schindelin","Santiago Torres"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"276458","messageId":"1E23015B9294604195E5EBA53602E115FCEE7D@WDC-VMAILBOXP25.smrcy.com","threadId":"41227","inReplyTo":null,"subject":"GIT Question","fromName":"Draggs, Tori","fromEmail":"tori.draggs@mercy.net","sentAt":"2016-01-20T21:28:59Z","receivedAt":"2016-01-20T21:28:59Z","isPatch":false,"sender":{"key":"tori.draggs@mercy.net","avatar":null},"body":"Specs:\nMacBook Pro \nOS X Yosemite\n2.6 GHz Intel Core i5, 8GN 1600 MHz DDR3\n\nAfter selecting the Git option in a recent install of Visual Studio Code 2015 for MAC, my filesystem was removed. I can no longer access any of the local files stored on my machine. After researching many blogs/websites to no avail I am reaching out to you.  I contacted Apple Support who instructed me to contact the developers for GIT.\n \nI am a struggling college student interested in a development career. After spending nearly a year to save up for my laptop - seeing everything gone after a few lines of code is more than devastating.  I am new to GIT and am overwhelmed by the breadth of information available.  If you could share your expertise and guide me to a resource that may address this issue I would be so very grateful.  This is my first real project and I was trying to get myself set up with Visual Studio Code 2015 for Mac.  I know that is not your concern, so getting back to my inquiry - specifically I am looking for information on rolling back a possible commit that removed my entire MacBook Pro file system. I have the .bash_history and am including it below. \n\ngit\ngit status\ngit log\ngit rm\ngit rm -r\n--r\ngit -r\n--r git\ngit\ngit diff\ngit log\ngit status\ngit log -diff-filter=D -summary\ngit log -diff-filter=D -summary\ngit log -diff-filter=D -author=Parent -summary\ngitcheckout <commit>~1 (I believe this is where things exploded)\ngit fsck -lost-found\nls  .git/lost-found/other\nls.git/lost-found/other\ngit fsck -lost-found ls .git/lost-found/other\ngit stash\ngit pull -rebase\ngit stash pop\ngit reflog\ngit checkout -b branch-name c3a4103\ngit fsck -lost-found ls unreachable\nopen .git/lost-found/other\ncd .git/lost-found/othergit cat-file -p c3a4103\ngit rm -rf\ngit reset -hard\ngit resert -hard\n--help\nHelp\nRestore\n--restore\n\n--While there is more I don't believe it will assist with your investigation.  If the full file is needed, I would be more than happy to forward it to your attention.   \n\n\n\n\nThank you again for your time and expertise.  \n\nTori Draggs\nTori.draggs@mercy.net\nTechgeek2013@gmail.com\nGithub: https://github.com/gnugal314 \n\nThis electronic mail and any attached documents are intended solely for the named addressee(s) and contain confidential information. If you are not an addressee, or responsible for delivering this email to an addressee, you have received this email in error and are notified that reading, copying, or disclosing this email is prohibited. If you received this email in error, immediately reply to the sender and delete the message completely from your computer system.\n"},{"id":"276544","messageId":"alpine.DEB.2.20.1601221750060.2964@virtualbox","threadId":"41227","inReplyTo":"1E23015B9294604195E5EBA53602E115FCEE7D@WDC-VMAILBOXP25.smrcy.com","subject":"Re: GIT Question","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2016-01-22T16:51:55Z","receivedAt":"2016-01-22T16:51:55Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi Tori,\n\nOn Wed, 20 Jan 2016, Draggs, Tori wrote:\n\n> Specs:\n> MacBook Pro \n> OS X Yosemite\n> 2.6 GHz Intel Core i5, 8GN 1600 MHz DDR3\n> \n> After selecting the Git option in a recent install of Visual Studio Code\n> 2015 for MAC, my filesystem was removed.\n\nCan you call Visual Studio Code? If so, the filesystem was definitely not\nremoved, so that's good news.\n\n> I can no longer access any of the local files stored on my machine.\n\nThe most likely cause is that you are now looking somewhere else than\nwhere the files are actually. Could you use the magnifying glass on the\nupper right hand corner to search for a file name of the files you had\npreviously?\n\nCiao,\nJohannes\n"},{"id":"276549","messageId":"alpine.DEB.2.20.1601221803560.2964@virtualbox","threadId":"41227","inReplyTo":"1E23015B9294604195E5EBA53602E115FCF59F@WDC-VMAILBOXP25.smrcy.com","subject":"RE: GIT Question","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2016-01-22T17:08:35Z","receivedAt":"2016-01-22T17:08:35Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi Tori,\n\nplease reply-to-all. I really have no time to serve as your personal,\nfree-of-cost help desk. But I am willing to help on the mailing list.\n\nOn Fri, 22 Jan 2016, Draggs, Tori wrote:\n\n> Hi.  I am able to pull up Visual Studio Code.  But none of my local\n> files.  I tried using the magnifying glass as well as the Go To feature\n> and when performing a search I am informed that the file is not found. \n\nWere your files inside the .app, or did you store them in your Documents/\nfolder?\n\nCiao,\nJohannes\n"},{"id":"276554","messageId":"1E23015B9294604195E5EBA53602E115FCF5B7@WDC-VMAILBOXP25.smrcy.com","threadId":"41227","inReplyTo":"alpine.DEB.2.20.1601221803560.2964@virtualbox","subject":"RE: GIT Question","fromName":"Draggs, Tori","fromEmail":"tori.draggs@mercy.net","sentAt":"2016-01-22T17:22:16Z","receivedAt":"2016-01-22T17:22:16Z","isPatch":false,"sender":{"key":"tori.draggs@mercy.net","avatar":null},"body":"I apologize, however my intent in reaching out was not to seek free of cost help desk services.  After speaking with Apple they suggested that I contact both Git and Code developers for feedback on the commands I used prior to the potential file removal.  \n\nI appreciate your assistance thus far and will reach out to the mailing list as you've described below.  Again thank you for your time and have a good day. \n\n-----Original Message-----\nFrom: Johannes Schindelin [mailto:Johannes.Schindelin@gmx.de] \nSent: Friday, January 22, 2016 11:09 AM\nTo: Draggs, Tori\nCc: git@vger.kernel.org\nSubject: RE: GIT Question\n\nHi Tori,\n\nplease reply-to-all. I really have no time to serve as your personal,\nfree-of-cost help desk. But I am willing to help on the mailing list.\n\nOn Fri, 22 Jan 2016, Draggs, Tori wrote:\n\n> Hi.  I am able to pull up Visual Studio Code.  But none of my local\n> files.  I tried using the magnifying glass as well as the Go To feature\n> and when performing a search I am informed that the file is not found. \n\nWere your files inside the .app, or did you store them in your Documents/\nfolder?\n\nCiao,\nJohannes\nThis electronic mail and any attached documents are intended solely for the named addressee(s) and contain confidential information. If you are not an addressee, or responsible for delivering this email to an addressee, you have received this email in error and are notified that reading, copying, or disclosing this email is prohibited. If you received this email in error, immediately reply to the sender and delete the message completely from your computer system.\n"},{"id":"276557","messageId":"20160122175815.GA28871@LykOS","threadId":"41227","inReplyTo":"1E23015B9294604195E5EBA53602E115FCF5B7@WDC-VMAILBOXP25.smrcy.com","subject":"Re: GIT Question","fromName":"Santiago Torres","fromEmail":"santiago@nyu.edu","sentAt":"2016-01-22T17:58:16Z","receivedAt":"2016-01-22T17:58:16Z","isPatch":false,"sender":{"key":"santiago@nyu.edu","avatar":"https://avatars.githubusercontent.com/u/3579933?v=4"},"body":"On Fri, Jan 22, 2016 at 05:22:16PM +0000, Draggs, Tori wrote:\n> I apologize, however my intent in reaching out was not to seek free of cost help desk services.\n\nDon't worry, just use reply to all so everyone can see and chime in if\nthey can help.\n\n> > Hi.  I am able to pull up Visual Studio Code.  But none of my local\n> > files.  I tried using the magnifying glass as well as the Go To feature\n> > and when performing a search I am informed that the file is not found. \n\nI see you were able to run git log, what do you see in it? as it might\nshed some light on what happened.\n\n-Santiago.\n"}]}