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


Groups > linux.debian.user > #208730

using git locally

From mick crane <mick.crane@gmail.com>
Newsgroups linux.debian.user
Subject using git locally
Date 2019-05-17 15:40 +0200
Message-ID <xYLfz-8tk-5@gated-at.bofh.it> (permalink)
References <xYLfz-8tk-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


hello,
Because I am always making mistakes I thought, if it's not too hard, to 
see about using git locally.
I made a git repository for project following destructions
https://www.digitalocean.com/community/tutorials/how-to-use-git-effectively
but I'm having bother accessing it remotely.
I can ssh from one pc to another using keys with key phrase.
"ssh mick@server"
but
"git remote add origin ssh://mick@server/home/mick/git/camera"
and many variations I get.
fatal: not a git repository (or any of the parent directories): .git
I'm not really understanding the difference between "ssh" and "ssh://" 
except "ssh" works in terminal and "ssh://" doesn't.
Is it ssh:// that is wrong or I've failed to get the syntax right for 
git ?
mick
-- 
Key ID    4BFEBB31

Back to linux.debian.user | Previous | Next — 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