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


Groups > linux.debian.user > #208752

Re: using git locally

From mick crane <mick.crane@gmail.com>
Newsgroups linux.debian.user
Subject Re: using git locally
Date 2019-05-17 20:10 +0200
Message-ID <xYPsS-2KH-9@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


On 2019-05-17 15:59, Eduardo M KALINOWSKI wrote:
> 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

> 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.

Oh I see, thought message was about the other end.
thanks
-- 
Key ID    4BFEBB31

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