ITADN

Requires GitHub credentials when cloning the repo

#1Closedonnyyonn 创建于 2024-08-03
O
onnyyonncommented
When I am trying to clone this repo with `git clone https://github.com/olets/zsh-autosuggestions-abbreviation-strategy --single-branch --branch main --depth 1`, I am being asked to enter my GitHub credentials. I am unsure why that would happen, given that it's a public repository. But I have tested in multiple devices, and even inside containers, with the same result. Here is the log from a container: ``` ❯ podman run --rm -it alpine zsh Resolved "alpine" as an alias (/etc/containers/registries.conf.d/00-shortnames.conf) Trying to pull docker.io/library/alpine:latest... Getting image source signatures Copying blob c6a83fedfae6 done | Copying config 324bc02ae1 done | Writing manifest to image destination / # apk add git fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz (1/13) Installing ca-certificates (20240705-r0) (2/13) Installing brotli-libs (1.1.0-r2) (3/13) Installing c-ares (1.28.1-r0) (4/13) Installing libunistring (1.2-r0) (5/13) Installing libidn2 (2.3.7-r0) (6/13) Installing nghttp2-libs (1.62.1-r0) (7/13) Installing libpsl (0.21.5-r1) (8/13) Installing zstd-libs (1.5.6-r0) (9/13) Installing libcurl (8.9.0-r0) (10/13) Installing libexpat (2.6.2-r0) (11/13) Installing pcre2 (10.43-r0) (12/13) Installing git (2.45.2-r0) (13/13) Installing git-init-template (2.45.2-r0) Executing busybox-1.36.1-r29.trigger Executing ca-certificates-20240705-r0.trigger OK: 20 MiB in 27 packages / # git clone https://github.com/olets/zsh-autosuggestions-abbreviation-strategy --single-branch --branch main --depth 1 Cloning into 'zsh-autosuggestions-abbreviation-strategy'... Username for 'https://github.com': ^C / # ```
关闭于 2024-08-04 2 条评论