Re: Git Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 3 Nov 2020 at 04:37, Joe Fabre <joefabre@xxxxxx> 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




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux