1,419 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
Advice
1
vote
1
replies
41
views
Can I substitute git clone with other git commands?
I've tried to substitute respective replace
git clone remote-dir/repo
with the following commands:
mkdir repo
cd repo
git init
git remote add origin remote-dir/repo
git pull
and even I got the ...
0
votes
3
answers
115
views
How to clone a large git repo over slow/unreliable connection in a fully automatic/generic/RESUMABLE manner?
git clone restarts from scratch after network failures. Is there a way to clone large repositories incrementally or resumably in a fully automatic generic fashion?
At least, the solution should work ...
Advice
1
vote
0
replies
139
views
Are all my git cloners search engines/AI collection bots?
I have my github account for a quite while. I created this new repository on my account and I saw this git cloners spike this high. Are all these search engines/AI data collection bots? Are there any ...
0
votes
0
answers
109
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
56
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
115
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
112
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
38
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
115
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
2k
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
71
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
68
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
100
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://<...