Questions tagged [git-clone]
Obtains a local copy of a remote Git repository.
1,366
questions
0
votes
0
answers
7
views
Sobre default branches no Git [closed]
Estava lendo a documentação oficial do Git e me deparei com a seguinte frase:
... "The Git project has four long-running branches: master, next, and seen (formerly pu — proposed
updates) for new ...
0
votes
0
answers
13
views
git clone - git clone error: RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054
Yesterday I was trying to clone remote repository to my local system but was getting the above error, I tried to google for the solution but stack overflow answers did not help me. Today I found the ...
0
votes
0
answers
24
views
VScode + git: does not checkout submodules
I try to use VScode as git-ui. The problem starts when using submodules.
If I switch to a branch all submodule-folders are empty and submodules are not recognized.
It seams that VScode doesn't perform ...
0
votes
0
answers
22
views
Periodically pull a specific folder from one git repository to another
I have a large git repo R1 ~30GB in size that has a large folder F1 roughly ~15GB in size. I cannot modify this repo since the repository has a high frequency R/W operations all the time.
I want to ...
0
votes
3
answers
13
views
Permission denied (publickey)fatal:Coul not read from remote repository.Please make sure you have the correct access rights and the repository exists
enter image description here
When I try to clone from gitlab repo it's giving permission issue.I added ssh to the gitlab profile.
I try to clone from gitlab repo it's giving permission issue.I was ...
0
votes
0
answers
32
views
git clone command file://
I try to clone repository from a remote server using the command :
git clone file://ip_address/GIT_SERVER/test.git
and always get the following error:
fatal: '//ip_address/GIT_SERVER/test.git' does ...
0
votes
0
answers
17
views
Getting not authorized error in Eclipse while trying to clone a Git repository using GitHub
I have created a Java project in my Eclipse and I want to upload that to GitHub. I created a new repository in GitHub. I copied the repository URL and, using Clone Git Repository, I tried to upload my ...
0
votes
0
answers
27
views
I can not start my cloned next js project with npm run dev and there is no error message
enter image description hereI cloned a nextjs project repo from my github it is my repo and I am the owner of the project after that I run npm install and every thing was okay and then I tried to ...
-3
votes
0
answers
20
views
Git clone error "Connection reset by 10.130.89.18 port 2271.75 KiB"
i am cloning code for my project, getting following error,
Connection reset by 10.130.89.18 port 2271.75 KiB | 1.38 MiB/s
ffatal: The remote end hung up unexpectedly
atal: early EOF
fatal: index-pack ...
-2
votes
0
answers
22
views
Howto work with Git partial clones in GUI Tools like Git Extensions
We are having a lot of huge git repositories. Some of them are >20GB.
We also make high usage of git submodules.
This results in an high data transfer for cloning, and also harddisk space issue.
We ...
0
votes
0
answers
50
views
Can't clone Github repository to Git - fatal error - unable to access
I'm doing the Git and Github google course on coursera, and I'm new at this.
I already have a Github account, but never used it from the terminal.
Following the instructions of the course, I'm trying ...
2
votes
1
answer
37
views
Windows FIle Explorer, add clone clipboard contents in context menu
Also see my Run Powershell.
My attempt is to implement the following work flow
in GitHub or anyother repo server copy the link to a repo
in Windows File explorer right click a folder eg D:\Projects ...
0
votes
1
answer
38
views
VS Code: I can Git Clone in VS Code terminal (Bash) using SSH but get permission denied (public key) in VS Code Source Control
I really need some help here. I am stuck trying to use the Source Control option in VS Code to clone a few git repositories. I can successfully clone them onto my C: drive via the bash terminal in ...
0
votes
1
answer
27
views
`git clone --reference` with a blobless clone gives fatal errors
I'm trying to speed up a full clone by referencing an existing clone made with --filter=blob:none.
(Yes, I actually want to create another repository, not do something like fetch --unshallow)
I hoped ...
0
votes
1
answer
30
views
How to fix possible Jenkins errors during repo cloning?
When I try to clone larg repo by Jenkins I have such errors in output consol.
I try to clone Unreal Engine repo. 4.26 branch.
error: RPC failed; curl 56 Recv failure: Connection was reset
error: ...
2
votes
1
answer
75
views
Git command executed in Docker container fails on server but not locally
I'm configuring a Satis Docker image and I encounter an error when trying to refresh the packages:
Failed to execute git clone --mirror -- '[email protected]:amp/support/db.git' '/root/.composer/...
4
votes
0
answers
156
views
cant git clone from my pc with gitlab behind traefik
here's my gitlab & traefik configuration
version: '3.7'
services:
gitlab_web:
image: 'gitlab/gitlab-ce:latest'
restart: always
hostname: 'gitlab.roger'
container_name: gitlab-ce
...
2
votes
0
answers
71
views
Is there a way to configure git to clone with --filter=blob:none by default?
After reading the Github Blog Post Get up to speed with partial clone and shallow clone, I would like to have git clone use --filter=blob:none by default to reduce the time and size required by git ...
1
vote
1
answer
30
views
"This LFS object could not be found."
I am a part of a development team working on a Unity game project hosted on GitHub.
The project uses Git LFS to handle large binary files, such as textures, 3D models, and audio assets.
I navigated to ...
0
votes
0
answers
70
views
How to clone the Linux kernel repository to my machine? I keep geting errors [duplicate]
This is the command I run (in either the Clion, vsc or the Windows terminal):
git clone https://github.com/torvalds/linux.git
And this is what happens:
Cloning into 'linux'...
remote: Enumerating ...
3
votes
1
answer
135
views
Keeping a git fork in sync while adding custom github actions
In short: I want to fork a repository, keep it in sync with the original, but also add some GitHub actions to the fork.
I want to fork a git repository, on a public gitlab instance, to a clone that ...
0
votes
0
answers
25
views
Jenkins fails to clone huge repo with early EOF
I have a repo with over 13gb stored, most of which is LFS. I'm not really sure this has to do something with LFS, but anyway.
The error is always the same.
Receiving objects: 96% (33831/35240), 43.64 ...
0
votes
0
answers
24
views
Not a git repository although git init was typed before git remote and repository URL was entered in the remote command
My friend is working on a Pokemon Emerald ROM Hack, and he wanted to merge into the Dynamic Overworld System as part of it. However, git remote was unsuccessful.
He typed git init before remoting
He ...
0
votes
0
answers
15
views
How to build Keras from source
I want to know step by step process of building keras from source. On internet everybody says clone keras from github and then CD into it and run python setup.py install but there is no setup.py file ...
-1
votes
1
answer
63
views
Why is git clone non-deterministic?
Sometimes git clone results a dirty worktree. I get it, you commit text files with crlf, you configure .gitattributes to force lf, and set autocrlf to true - you are asking for trouble. But why under ...
0
votes
0
answers
21
views
Not receive php file in gitclone
enter image description here
I got an error when I used git clone to htdocs file (xampp) and when I opened the project the .php didn't recognize it.
I also checked the setting.json "php.validate....
1
vote
0
answers
99
views
How do you clone remote repo and set up as a project in Visual Studio?
I have tried to clone a remote github repository onto my computer and run it in Visual Studio. There is an option to clone a repository in Visual Studio, but all it does is clone it to a folder. I ...
1
vote
1
answer
43
views
git clone - Issue with whitspace within URL
I am having issues using git clone with repositories that have whitespace in their names.
For example, my project name in AzureDevOps is: "TestProject - Test" and the URL to clone my git ...
0
votes
0
answers
13
views
How to pull changes of remote branch only for particular sub module?
I have a git hub repo that I have cloned in to my machine which in turn consists of different sub modules(different maven projects). Now, I want to work with only a particular sub module but on a ...
0
votes
0
answers
20
views
Github won't let me clone my second repository (but no issue with my first repository)
I have two private repos on github. One of them works fine and I can clone it well. The second one which I just created, if I type
git clone https://github.com/myusername/myrepo2.git
gives me the ...
0
votes
0
answers
77
views
Gitlab cannot clone repo through 'git clone git@ip:xxx.git'
My Gitlab is on the internal network, only IP without domain name.
It is installed by docker, and cannot clone repo through:
git clone git@ip:xxx.git
and can been cloned through:
git clone http://ip:...
0
votes
0
answers
30
views
Error "could not set 'core.repositoryformatversion' to '0'" showing when trying to clone a github repository
When I tried to clone a Github repository I encountered the following error:
could not set 'core.repositoryformatversion' to '0'
Please help how I can resolve this error. I tried looking for it but ...
0
votes
0
answers
25
views
GitLab project cloning stalls after 'remote: Enumerating objects' when cloning on same network
My company has a VPN to access self-hosted GitLab. I can clone a project on my laptop. When I clone the project on the same network as Gitlab, it stocks after 'remote: Enumerating objects'. How can I ...
2
votes
1
answer
30
views
Clone git with default reference repositories including submodules
we are using git for multiple projects, that are using hundreds of submodules. Most projects are using the same submodules, but when cloning them on the local disk, every project receives a full clone ...
0
votes
1
answer
254
views
Git: Clone succeeded but checkout failed
When pulling the repo from gitlab i get the following error:
warning: Clone succeeded, but checkout failed. You can inspect what was checked out with 'git status' and retry with 'git restore --source=...
0
votes
0
answers
32
views
Challenges setting up virtual environment with Win10/VSCODE/Anaconda
I am new to Python and I need to clarify my set-up and how to set up virtual environments properly.
I am in Windows 10 and using VSCODE and managing all of my packages with Anancoda Navigator 2.3.2. ...
0
votes
0
answers
132
views
How to clone a repo using Atlassian Python API?
Bitbucket module of Atlassian Python APi could be used to programmatically connect to Bitbucket and perform operations:
https://atlassian-python-api.readthedocs.io/bitbucket.html
The above link shows ...
0
votes
0
answers
53
views
Sourcetree does not respect gitconfig templatedir
I have an issue with Sourcetree (3.4.12 on Windows) not copying the content of my templatedir during a repo clone (Git 2.39.1).
I have:
a global .gitconfig file located here: C:\Users\my-account\....
3
votes
1
answer
109
views
How to clone git repository without network connection
The infrastructure: I have two hosts (A and B). I cannot connect from A to B or vice versa. There is no host C which is reachable from host A and host B. I can send e-mails in both directions. ...
0
votes
2
answers
82
views
Git clone error: cannot exec '/myrepo/.git/hooks/post-checkout': Permission denied
I have a git repo on which I have enabled lfs (large file storage) by running following command:
git lfs track "*.pickle"
I commited this repo and cloned it on another machine. But it gave ...
-2
votes
2
answers
555
views
Git Clone specific folders from src repo to dest repo with preserving history
I have 2 working repositories, repo1 and repo2.
I want to clone only a few folders from repo1 to repo2 along with the commit history of those files.
example:
copy repo1/src/build to repo2/src1/build
I ...
0
votes
1
answer
22
views
how to npm i properly cloned repo
trying to use this portfolio template
https://github.com/saadpasta/developerFolio
# Clone this repository
git clone https://github.com/saadpasta/developerFolio.git
# Go into the repository
cd ...
0
votes
0
answers
13
views
How to resolve github token problem on terminal
How do I add my personal token to an already cloned repo because I've been trying it and it's saying destination path already exists
I tried to add my token after I noticed that I didn't add it ...
0
votes
1
answer
994
views
GIT clone repository not working in Visual Studio 2022
I am trying to clone a repository of my source code from Git URL to my local machine using VS 2022, but I am getting the following error:
Unable to start process.
Process creation failed because the ...
0
votes
1
answer
30
views
Pulling remote master to a local repo cloned from a bundle
I have a local repo that I cloned from a bundle. I received the repo as a git bundle. After unbundling it and created my own branch, I noticed some bug on the code and notified the sender. They fixed ...
0
votes
1
answer
45
views
Does git gc actually increase the disk usage in any case?
I have a mirror cloned repository on which I wanted to try git gc.
When I check the disk usage before and after using git gc, it actually increase the usage.
Will there be any case in which it ...
3
votes
2
answers
4k
views
GIT ERROR: fatal: unable to access 'https://dev.azure.com/****/': Recv failure: Connection was reset while cloning
Cloning a repository, pushing , fetching and pulling code with git from Azure Devops via VSCODE, GITExtensions, GIT BASH results in a 'fatal unable to access' & 'CONNECTION WAS RESET' ERROR around ...
0
votes
1
answer
55
views
Is git-clone-bare-filter-blob-none sufficient to do rev-list-all-count?
My situation is that I have:
a multi-100MB repo and
all I want to do is run git rev-list --all --count
on a clean machine, that is, the initial/repeated clone of the repo is a significant overhead.
...
0
votes
0
answers
11
views
PS C:\Users\Akacha> git clone [email protected]:Dindihub/Boma-watch.git Cloning into 'Boma-watch'... The authenticity of host is a fingerprint?
I tried this:
git clone [email protected]:Dindihub/Boma-watch.git
To try clone a repository from git-hub.
RESULT:
The authenticity of host 'github.com (140.82.121.4)' can't be established.
ED25519 key ...
0
votes
1
answer
43
views
Can't install public github repositories listed in package.json
I'm getting
You may not have access to this repository or it no longer exist in this workspace. If you think this repository exists and you have access, make sure you are authenticated
The ...