From: Gennady Uraltsev <gennady.uraltsev@gmail.com>
To: git@vger.kernel.org
Subject: Bug in git-remote
Date: Sat, 15 Dec 2018 02:14:56 -0500 [thread overview]
Message-ID: <650b15f4-5e13-7a83-9f2e-072efc4815e4@gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 828 bytes --]
I am on git version 2.20.0
$ git remote
does not show remotes configured in named files in $GIT_DIR/remotes/
I do not think that this is the intended behavior.
In particular:
$ git init --bare test.git
Initialized empty Git repository in /home/guraltsev/admin/test/git/test.git/
$ cd test.git
$ mkdir -p remotes
mkdir: created directory 'remotes'
$ echo -e "URL: /testremote.git \n Push: *:* \n Pull:
refs/heads/*:refs/remotes/testremote/* " > remotes/testremote
$ git remote
$ git remote show testremote
fatal: '/testremote.git' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
The second to last command should show testremote as a remote.
Best,
Gennady
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next reply other threads:[~2018-12-15 7:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-15 7:14 Gennady Uraltsev [this message]
2018-12-15 13:02 ` Bug in git-remote SZEDER Gábor
2018-12-17 12:50 ` Johannes Schindelin
2018-12-28 12:32 ` SZEDER Gábor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=650b15f4-5e13-7a83-9f2e-072efc4815e4@gmail.com \
--to=gennady.uraltsev@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).