1,418 questions
0
votes
0
answers
99
views
Git clone failed on Windows but works fine on Mac
I am trying to git clone a GitLab repository using HTTPS on my Windows Laptop. HTTPS is the only protocol supported. It failed with the following error:
remote: Enumerating objects: 202266, done.
...
1
vote
0
answers
55
views
git clone <repo> fails because it tries to include local projects, causing a "Filename too long" error [duplicate]
I'm unable to use' git clone ' because during the cloning process, it attempts to copy local projects into the remote repository, which eventually results in a "Filename too long" error.
...
2
votes
1
answer
113
views
Stop git from relating related history on fetch
I'm working on creating a template system with git, but git is being too clever (for my use case) by automatically 'unshallowing'. Let me try to explain.
For context, the templating process starts by ...
2
votes
1
answer
106
views
How does `--reference-if-able` affect `git fetch` and `git push` propagation in a clone?
I have two local clones of the same remote repository (urlA):
mirror/ – created with
git clone --mirror urlA mirror
dirB/ – created with
git clone --reference-if-able ../mirror urlA dirB
In dirB, ...
0
votes
0
answers
36
views
GitKraken gets hung on the end of cloning repo
On GitKarken Desktop, when I clone a repo it'll download until it gets to the end and then it just hangs there and doesn't finish cloning. It just doesn't seem to fully download 100% of the project ...
0
votes
1
answer
104
views
Can I make git clone recurse submodules by default?
Can I configure git so that, when I git clone a repository, it recursesively clones the submodules, without me explicitly having to say --recurse-submodules?
0
votes
1
answer
91
views
Remove git data without breaking fetch
I'm processing a lot of Git repositories with software I wrote. The basic process is like this:
Do git clone --no-checkout --filter=blob:none <url>
Read interesting data from the repository and ...
0
votes
2
answers
1k
views
Where is VS Code cloning a git repository?
I ran the git:clone command in VS Code command palette to clone a repository from GitHub. Where is the repo getting cloned to? VS Code is running locally on my laptop. I am on a Windows machine. Why ...
2
votes
1
answer
70
views
Does updating the submodules before checking out a tag have any adverse effects?
I am trying to clone a git repo and checkout a particular tag. But I have a doubt regarding the order of commands. For now, I follow these steps:
git clone <some_repo>
cd <repo_dir>
git ...
0
votes
0
answers
44
views
I can't fork a big github repository using git [duplicate]
So basically I'm trying to clone the Zen Browser Desktop github repository to contribute to it, but I guess because it's too big I can't clone it.
I tried to clone in the normal way, and I got the ...
0
votes
0
answers
45
views
FATAL: R any reponame username DENIED by fallthru
I have added my .pub key for the repo access .
tried with ssh -T hostname for testing and it's working perfect.
But while trying to clone the repository, I'm getting error like this:
FYI, I'm using ...
0
votes
0
answers
35
views
Error occurring when clone from github to vs2022
I first wrote a c++ project in vs2022 and pushed it to github. I copied the URL of the project on github, pasted the URL into the clone of vs2022, saved it to an empty folder on drive E and opened it. ...
0
votes
0
answers
62
views
git partial clone with multiple remotes
I am working with two repos (repo_a and repo_b) which are two forks of the same project. They are both very large in terms of files and history. I need to use a small set of branches from each of them,...
-1
votes
1
answer
95
views
Authentication failed error while pulling from TFS through PAT
I have a TFS repo with some source files. Checkout using the username and password works as expected. But when I try with PAT, it shows the error below.
git -c http.sslVerify=false clone https://<...
2
votes
3
answers
361
views
How can I clone a git repository owned by another user without modifying the global git configuration file?
I wish to clone a git repository owned by another (trusted) user on a shared system. Simply trying to clone it without any change to the git configuration does not work because recent versions of git ...
0
votes
1
answer
850
views
How to use azure devops authorization bearer token and clone a repo?
I am trying to clone a repo using an authorization bearer token I created using a service connection in Azure. The service principal has reader access to the repo I'm trying to clone. And in Azure I'...
0
votes
1
answer
37
views
The file is not visible even though I changed the branch using Gitflow
I cloned it again and set up Gitflow to change the branch from main to development, but the file is not visible.
After deleting the file, I cloned it again and set up Gitflow again, but it was the ...
-1
votes
2
answers
62
views
Flutter project from my github repo won't run on new laptop
github repo: https://github.com/MichaelR778/flutter-music-player-1
I got a new laptop so I cloned some project from my github, but it won't run. I followed this to set up flutter: https://docs.flutter....
0
votes
0
answers
492
views
GIT - error: RPC failed; curl 18 transfer closed with outstanding read data remaining when clone Supabase
I want to setup Supabase for Self-Hosting with Docker. But I failed when clone supabase github.
PS C:\AaFolder\Dev\Supabase> git clone --depth 1 https://github.com/supabase/supabase
Cloning into '...
1
vote
2
answers
150
views
How can I create a branch in my fork based off a branch in a different fork (of the same master)?
I have my own fork I’ve been working on for awhile:
https://github.com/udance4ever/batocera.linux/
I verified the work done in this branch of a fellow developer’s fork is something I wish to build ...
0
votes
1
answer
88
views
Git clone does not clone the specified remote repository
Recently, I have a strange behavior when trying to clone a remote repository to my local machine using git bash as it does not clone the specified remote repository but it clones one of my docker ...
0
votes
0
answers
51
views
Backup github and restore when github down
I need to backup github repo and restore it to another git server (eg: gitlab/bitbucket etc, with all those issue/pull request/tag/branches restore)
Assumption:
The backup will not be sync to ...
-1
votes
1
answer
1k
views
Can't clone odoo 17 repository completely
I'm trying to clone odoo 17 branch. The size of the repository is like 3-4 GB. But whenever I try to clone the repository it breaks in the middle and doesn't even reach to 1% of it. This is the error ...
0
votes
1
answer
211
views
GitLab SSH Clone Failing
I have Windows 10 and WSL Ubuntu both installed. I am encountering a problem where I am able to verify that my SSH key pair is correctly configured by using the ssh command but failing at cloning from ...
1
vote
2
answers
74
views
How to access origin/main in gitlab CI/CD
I added some automated commit quality checks to our gitlab CI, which essentially walks through all the commits that are in the merge request one-by-one. I essentially loop through the result of a git ...
0
votes
1
answer
103
views
Why does `git clone --depth 1` leave packfiles?
I am trying to clone a repository with a lot of blobs in its history, and would like to only download the files at a specific commit without any added overhead or redundancy.
When trying git clone --...
2
votes
3
answers
538
views
Syfmony new Project directory . is not empty error
After cloning an existing git repo to install a new fresh Symfony I got the error Project directory
symfony new . --webapp
This is because of the .git file generated after clonning the existing repo.
...
0
votes
0
answers
56
views
What does the `foo]` syntax mean for a git option? Or is this `git-clone` Synopsis missing `[`s?
The git-clone doc has the following synopsis
git clone [--template=<template-directory>]
[-l] [-s] [--no-hardlinks] [-q] [-n] [--bare] [--mirror]
[-o <name>] [-b <name>] [...
1
vote
0
answers
147
views
Is there a way to git clone images uploaded to GitHub wiki?
Is it possible to clone the images uploaded to GitHub wiki?
It is possible to clone a GitHub wiki as its own repo. e.g. (e.g.https://stackoverflow.com/questions/15080848/how-do-i-clone-a-github-wiki)
...
1
vote
3
answers
688
views
How to set up a simple git server?
I have a program written in Go which runs Git to connect to GitHub. I'm trying to write a (unit) test for this program, hence I want to set up my own HTTP server inside the test to mock out GitHub. ...
0
votes
1
answer
56
views
Wanting to add files to an already Existing Repo on GitHub
I am very new to working with Git and GitBash.
I have a repo on GitHub called "RepoA" which already has some files (let's say files from FolderA). I uploaded these on there using add, commit ...
0
votes
0
answers
51
views
Accidently stopped git repo clone [duplicate]
I tried to clone a git repo that already exists in wsl (ubuntu).
However, when it asked for password, I forgot it doesn't show on screen, and pressed ctrl+z to try and delete what I wrote. But then I ...
0
votes
0
answers
76
views
XAML designer disappear when I close my project
I have a problem with a project I am cloning to edit. When I clone it and the open it, all my xaml files are displayed half code, half interface designer.
half code, hald designer image
But once I ...
0
votes
0
answers
329
views
Github - Visual Studio Code - repository not found
I have an issue with Github and Visual Studio Code.
I can clone und manupulate existing repos, but when I try to clone a new repo or push into a new repo, the error "repository not found" ...
1
vote
0
answers
4k
views
While cloning the git repository getting unexpected disconnect while reading side band packet
Cloning into 'repo?'...
remote: Enumerating objects: 2521, done.
remote: Counting objects: 100% (2521/2521), done.
remote: Compressing objects: 100% (2273/2273), done.
error: 4318 bytes of body are ...
1
vote
1
answer
215
views
git: determine if repo was cloned blobless or treeless
I want a programmatic way (preferably an alias) to determine whether a repository was cloned with either --filter=blob:none or --filter=tree:0, and to be able to tell which.
eg:
if git is-treeless; ...
0
votes
0
answers
171
views
When replying to sync, git fetch, or git clone, bad packet length xxxxx is reported
When I execute repo sync to pull a large project, I will report a Bad packet length xxxxx error, and sometimes I will also report this error when using git clone. How should I handle this?
Error info:
...
1
vote
0
answers
744
views
Unable to clone repository on WSL 2 Ubuntu
So, currently I'm trying to setup 2 SSH keys, one for the company GitLab and one for my personal GitHub. For context, I followed this steps and this is my current /.ssh/config file:
# Company account
...
-1
votes
1
answer
586
views
Why does git not allow me to clone this repository? [duplicate]
Git gives me this when I attempt to clone.
$ git clone --depth 1 "https://github.com/Ajatt-Tools/kitsunekko-mirror.git"
Cloning into 'kitsunekko-mirror'...
remote: Enumerating objects: ...
2
votes
1
answer
4k
views
Git clone error: RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 0
I'm trying to git clone a repo but nothing seems to work. Every time I get the same error:
error: RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 0
I'm trying through git bash, it ...
1
vote
1
answer
273
views
Can't clone using RSA / Ed25519 / ECDSA on GitHub "Permission denied (publickey)"
RSA algorithm:
ssh-keygen -t rsa -b 4096 -C "[email protected]"
Enter file in which to save the key (/home/eljoaca/.ssh/id_rsa): ENTER
Enter passphrase (empty for no passphrase): ENTER
...
0
votes
2
answers
54
views
Passing ssh keys securely into specific user in docker container
I was able to clone securely at the 4th step in the below dockerfile but not able to clone in the last step.
I have a use case where I have to create the user in the dockerfile. ssh clone is failing ...
0
votes
3
answers
447
views
How to get the name of a git repository after fetching it and checking it out? [duplicate]
If I were to clone a repository, git automatically determines the name of the repository and clones it into that directory.
As per the git clone documentation:
<directory>
The name of a new ...
2
votes
1
answer
2k
views
error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8) - 1
When I was cloning a GitHub repository on a HPC, at first it was running:
remote: Enumerating objects: 1059, done.
remote: Counting objects: 100% (1059/1059), done.
remote: Compressing objects: 100% (...
6
votes
3
answers
14k
views
Error: "1824 bytes of body are still expected" while cloning repository from GitHub
I'm encountering an issue while trying to clone a Git repository from GitHub. When I run the git clone command, I consistently receive the following error message:
1824 bytes of body are still ...
-2
votes
1
answer
352
views
How to create github repository using access token via CLI
EveryOne.
I wanna create Github repository using access token via CLI
I wanna work on Command Prompt which has below functions.
Clone repository from github
Create repository on My github account
Add ...
1
vote
0
answers
39
views
Copy or Sync all the branches from one Org Repo to another org with same repo
I have written the powershell script which will sync or copy the repo from one org to another org, but currently this script is sync only master branch, but not all the branches.
Below is the Code
<...
0
votes
0
answers
751
views
VS Code shows Spring Boot packages does not exist, even though it still runs the Java application
This is a project I cloned from GitHub (my friend initialized the Spring Boot project and everything).
However, my VS Code shows that it does not recognize all of the Spring Boot packages and other ...
1
vote
0
answers
315
views
Git clone not working on windows dev drive
I started using Windows 11 Dev drive. After I created a separate dev drive, I was not able to clone my repositories into my dev drive. I tried cloning into other drives and it works correctly. Dev ...
0
votes
1
answer
460
views
Errors when cloning flutter app from GitHub
I encountered an issue when cloning the Flutter app from GitHub to VS code editor.
When I run Git:clone and copy the path of a flutter app, the app can be opened in VS code. However, there exist a lot ...