Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #208742

Re: using git locally

From Jude DaShiell <jdashiel@panix.com>
Newsgroups linux.debian.user
Subject Re: using git locally
Date 2019-05-17 17:40 +0200
Message-ID <xYN7I-1aX-7@gated-at.bofh.it> (permalink)
References <xYLfz-8tk-7@gated-at.bofh.it> <xYLfz-8tk-5@gated-at.bofh.it> <xYLyW-8r-9@gated-at.bofh.it> <xYMbD-B4-5@gated-at.bofh.it> <xYMuZ-I7-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


This comes from David Karl Oliver who is no longer among the living.
Marine: Muscles are required intelligence not expected.  His cousin
joined the Corps too and David Oliver and me worked as civilians for the
Navy in the same office.

On Fri, 17 May 2019, Eduardo M KALINOWSKI wrote:

> Date: Fri, 17 May 2019 10:59:36
> From: Eduardo M KALINOWSKI <eduardo@kalinowski.com.br>
> To: debian-user@lists.debian.org
> Subject: Re: using git locally
> Resent-Date: Fri, 17 May 2019 14:59:53 +0000 (UTC)
> Resent-From: debian-user@lists.debian.org
>
> On 17/05/2019 11:31, mick crane wrote:
> > well that seems to work
> > "git clone myserver:/path_to_git_repository"
> > whereas
> > "git remote add origin myserver:/path_to_git_repository"
> > fatal: not a git repository (or any of the parent directories): .git
> >
> > probably I can worry about that later at least I know now I can talk
> > to it.
>
> That's because git remote add is meant to add a remote to an existing
> git (local) repository. You're probably running it on an empty
> directory, so it complains (correctly) that you're not in a repository.
>
> If you really must, do "git init ." and then "git remote add". But just
> use clone to create the local repository based on another repository.
>
>

-- 

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

using git locally mick crane <mick.crane@gmail.com> - 2019-05-17 15:40 +0200
  Re: using git locally Greg Wooledge <wooledg@eeg.ccf.org> - 2019-05-17 16:00 +0200
    Re: using git locally mick crane <mick.crane@gmail.com> - 2019-05-17 16:40 +0200
      Re: using git locally Eduardo M KALINOWSKI <eduardo@kalinowski.com.br> - 2019-05-17 17:00 +0200
        Re: using git locally Jude DaShiell <jdashiel@panix.com> - 2019-05-17 17:40 +0200
        Re: using git locally mick crane <mick.crane@gmail.com> - 2019-05-17 20:10 +0200
  Re: using git locally Brad Rogers <brad@fineby.me.uk> - 2019-05-17 16:10 +0200
    Re: using git locally mick crane <mick.crane@gmail.com> - 2019-05-17 17:30 +0200

csiph-web