{"thread":{"id":"54554","subject":"Git Help","startedAt":"2020-11-02T17:35:25Z","lastAt":"2020-11-04T12:20:02Z","messageCount":3,"participants":["Joe Fabre","Andrew Ardill"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"408869","messageId":"46BA69FB-B082-4575-ACF1-DC959527558E@me.com","threadId":"54554","inReplyTo":null,"subject":"Git Help","fromName":"Joe Fabre","fromEmail":"joefabre@me.com","sentAt":"2020-11-02T17:29:42Z","receivedAt":"2020-11-02T17:35:25Z","isPatch":false,"sender":{"key":"joefabre@me.com","avatar":null},"body":"Hi Git!\n\nI need some serious assistance.  I have a local repository on my primary laptop, and that repo folder is shared on the local network. The primary laptop died (grrr); and I want to create a repo on my back up laptop which has access to the shared folder, but no .git file.  Also, I’d like to link it to my GitHub account.\n\nAny ideas?\n\nThanks,\nJoe"},{"id":"409067","messageId":"CAH5451kZYL0LsXqVUxJhAA7iQ7GWS5zic5Z1jX_CbCjZWSGW1Q@mail.gmail.com","threadId":"54554","inReplyTo":"46BA69FB-B082-4575-ACF1-DC959527558E@me.com","subject":"Re: Git Help","fromName":"Andrew Ardill","fromEmail":"andrew.ardill@gmail.com","sentAt":"2020-11-04T11:45:20Z","receivedAt":"2020-11-04T11:46:25Z","isPatch":false,"sender":{"key":"andrew.ardill@gmail.com","avatar":"https://gravatar.com/avatar/da14cb7c091dd44dc6c63a4d3361b149acaf25226dc78eb4131a17b93d9b0993?d=mp&s=160"},"body":"On Tue, 3 Nov 2020 at 04:37, Joe Fabre <joefabre@me.com> wrote:\n>\n> Hi Git!\n\nHi!\n\n> I need some serious assistance.  I have a local repository on my primary laptop, and that repo folder is shared on the local network. The primary laptop died (grrr); and I want to create a repo on my back up laptop which has access to the shared folder, but no .git file.  Also, I’d like to link it to my GitHub account.\n>\n> Any ideas?\n\nWhere was the .git folder located for this repository? Typically it is\na subfolder of your repo.\n\nIf it was, it will be on the local network share, and the repo should\nbe intact. Install git is on the backup laptop and try to access the\nrepo like normal.\n\nIf the .git folder was not stored there, or for some other reason has\nnot been synced to the network share, it may be lost. In that case you\nwill have lost the history of your repo, but not the latest workstate\nthat was checked out.\n\nThere are lots of guides on how to upload your repository to github -\nhere is one, many more can be easily found by searching:\nhttps://www.techrepublic.com/article/how-to-push-a-new-project-to-github/\n\nIf your existing repository is still intact you can start from the\n'adding a remote' step.\n\nHope that helps!\n\nAndrew Ardill\n"},{"id":"409068","messageId":"5D4B5539-DAC4-44FF-9EEB-BB790953200C@me.com","threadId":"54554","inReplyTo":"CAH5451kZYL0LsXqVUxJhAA7iQ7GWS5zic5Z1jX_CbCjZWSGW1Q@mail.gmail.com","subject":"Re: Git Help","fromName":"Joe Fabre","fromEmail":"joefabre@me.com","sentAt":"2020-11-04T12:19:57Z","receivedAt":"2020-11-04T12:20:02Z","isPatch":false,"sender":{"key":"joefabre@me.com","avatar":null},"body":"HI Andrew,\n\nYour assessment and advice was exact.  I found this out through trial and “no error” (thank goodness).  The discovery came by accident.  I installed iTerm2 and had it themed, and again by accident, so that when in a .git folder the terminal indicated “master”.  I then tested out if I could make changes and push to GitHub from my remote computer(S).  Success!\n\nThank you for your response!\n\nGIT’fully,\nJoe\n\n> On Nov 4, 2020, at 6:45 AM, Andrew Ardill <andrew.ardill@gmail.com> wrote:\n> \n> On Tue, 3 Nov 2020 at 04:37, Joe Fabre <joefabre@me.com> wrote:\n>> \n>> Hi Git!\n> \n> Hi!\n> \n>> I need some serious assistance.  I have a local repository on my primary laptop, and that repo folder is shared on the local network. The primary laptop died (grrr); and I want to create a repo on my back up laptop which has access to the shared folder, but no .git file.  Also, I’d like to link it to my GitHub account.\n>> \n>> Any ideas?\n> \n> Where was the .git folder located for this repository? Typically it is\n> a subfolder of your repo.\n> \n> If it was, it will be on the local network share, and the repo should\n> be intact. Install git is on the backup laptop and try to access the\n> repo like normal.\n> \n> If the .git folder was not stored there, or for some other reason has\n> not been synced to the network share, it may be lost. In that case you\n> will have lost the history of your repo, but not the latest workstate\n> that was checked out.\n> \n> There are lots of guides on how to upload your repository to github -\n> here is one, many more can be easily found by searching:\n> https://www.techrepublic.com/article/how-to-push-a-new-project-to-github/\n> \n> If your existing repository is still intact you can start from the\n> 'adding a remote' step.\n> \n> Hope that helps!\n> \n> Andrew Ardill\n\n"}]}