git@vger.kernel.org list mirror (unofficial, one of many)
 help / color / mirror / code / Atom feed
* Git Help
@ 2020-11-02 17:29 Joe Fabre
  2020-11-04 11:45 ` Andrew Ardill
  0 siblings, 1 reply; 3+ messages in thread
From: Joe Fabre @ 2020-11-02 17:29 UTC (permalink / raw)
  To: git

Hi Git!

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?

Thanks,
Joe

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Git Help
  2020-11-02 17:29 Git Help Joe Fabre
@ 2020-11-04 11:45 ` Andrew Ardill
  2020-11-04 12:19   ` Joe Fabre
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Ardill @ 2020-11-04 11:45 UTC (permalink / raw)
  To: Joe Fabre; +Cc: git

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Git Help
  2020-11-04 11:45 ` Andrew Ardill
@ 2020-11-04 12:19   ` Joe Fabre
  0 siblings, 0 replies; 3+ messages in thread
From: Joe Fabre @ 2020-11-04 12:19 UTC (permalink / raw)
  To: Andrew Ardill; +Cc: git

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

> 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-11-04 12:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-02 17:29 Git Help Joe Fabre
2020-11-04 11:45 ` Andrew Ardill
2020-11-04 12:19   ` Joe Fabre

git@vger.kernel.org list mirror (unofficial, one of many)

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://public-inbox.org/git
	git clone --mirror http://ou63pmih66umazou.onion/git
	git clone --mirror http://czquwvybam4bgbro.onion/git
	git clone --mirror http://hjrcffqmbrq6wope.onion/git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 git git/ https://public-inbox.org/git \
		git@vger.kernel.org
	public-inbox-index git

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.version-control.git
	nntp://7fh6tueqddpjyxjmgtdiueylzoqt6pt7hec3pukyptlmohoowvhde4yd.onion/inbox.comp.version-control.git
	nntp://ie5yzdi7fg72h7s4sdcztq5evakq23rdt33mfyfcddc5u3ndnw24ogqd.onion/inbox.comp.version-control.git
	nntp://4uok3hntl7oi7b4uf4rtfwefqeexfzil2w6kgk2jn5z2f764irre7byd.onion/inbox.comp.version-control.git
	nntp://news.gmane.io/gmane.comp.version-control.git
 note: .onion URLs require Tor: https://www.torproject.org/

code repositories for project(s) associated with this inbox:

	https://80x24.org/mirrors/git.git

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git