Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #208737
| From | Eduardo M KALINOWSKI <eduardo@kalinowski.com.br> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: using git locally |
| Date | 2019-05-17 17:00 +0200 |
| Message-ID | <xYMuZ-I7-1@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> |
| Organization | linux.* mail to news gateway |
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. -- The Marines: The few, the proud, the not very bright. Eduardo M KALINOWSKI eduardo@kalinowski.com.br
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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