git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Git Help

From
JFJoe Fabre <joefabre@me.com>
Date
Nov 4, 2020, 12:19 UTC
Message-ID
<5D4B5539-DAC4-44FF-9EEB-BB790953200C@me.com>
In-Reply-To
<CAH5451kZYL0LsXqVUxJhAA7iQ7GWS5zic5Z1jX_CbCjZWSGW1Q@mail.gmail.com>
HI Andrew,
Your 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!
Thank you for your response!

GIT’fully, Joe

Show 34 quoted lines
> On Nov 4, 2020, at 6:45 AM, Andrew Ardill <andrew.ardill@gmail.com> wrote:
> 
> On Tue, 3 Nov 2020 at 04:37, Joe Fabre <joefabre@me.com> wrote:
>> 
>> Hi Git!
> 
> Hi!
> 
>> 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.
>> 
>> Any ideas?
> 
> Where was the .git folder located for this repository? Typically it is
> a subfolder of your repo.
> 
> If it was, it will be on the local network share, and the repo should
> be intact. Install git is on the backup laptop and try to access the
> repo like normal.
> 
> If the .git folder was not stored there, or for some other reason has
> not been synced to the network share, it may be lost. In that case you
> will have lost the history of your repo, but not the latest workstate
> that was checked out.
> 
> There are lots of guides on how to upload your repository to github -
> here is one, many more can be easily found by searching:
> https://www.techrepublic.com/article/how-to-push-a-new-project-to-github/
> 
> If your existing repository is still intact you can start from the
> 'adding a remote' step.
> 
> Hope that helps!
> 
> Andrew Ardill
Previous: Andrew Ardill
Message 3 of 3 in “Git Help”
  1. Joe FabreNov 2, 2020
  2. Andrew ArdillNov 4, 2020
  3. Joe FabreNov 4, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.