Questions tagged [git-clone]
Obtains a local copy of a remote Git repository.
1,245
questions
0
votes
0
answers
8
views
How does the drone clone the repository?
For gitlab, if I get the client_id and client_secret, how can I clone the repository, just like what drone does. Is there any API or something?
1
vote
0
answers
25
views
Unable to clone on my MAC using terminal commands
I am using macbook, I have been trying to clone the repository using "git clone" command from azure repos using https link. but somewhere I am getting an issue, i could not clone it every ...
-1
votes
0
answers
26
views
Batch Script - Cant print font in color right after the git clone command
I can't change to color of the font after using the command 'git clone', it works right before but not after.
An arrow symbol appears where the 'esc' symbol is wrriten.
This is my code:
@echo off
if ...
0
votes
1
answer
35
views
Clone gitlab repository Host key verification failed. fatal: Could not read from remote repository
I'm trying to clone a repository using visual studio but this message shows up
Host key verification failed.
fatal: Could not read from remote repository.
I've already created an ssh key and copied ...
1
vote
1
answer
32
views
Clonning a repo inside another repo in git
I am trying to clone a repo inside another repo. In the inner repo, I want to make some changes according to my need. When i am trying to commit these changes, i am getting an issue:
Changes not ...
-1
votes
0
answers
24
views
Can I link/pull a file from another repository into mine? [duplicate]
Let's take the following example:
// GitHub repository owned by me
git@github.com:me/my-repository.git
-- folder1
---- file1.1.txt
-- file1.txt
-- file2.txt
// Some other GitHub repository
git@...
1
vote
1
answer
23
views
I cut/pasted a folder into a local repository mid-clone - the clone failed and the folder disappeared. Is the folder I pasted gone forever?
I wanted to put my local code into a GitHub repository.
I created a repo on GitHub and tried cloning with HTTPS.
The clone was taking a moment but the folder was created on my laptop so I decided to ...
0
votes
1
answer
11
views
How to configure submodule remote and push
I have a third party repo as a submodule sub living in parent/data/.
In parent/data/sub/, git status gives me
# On branch master
# Your branch is ahead of 'origin/master' by 1 commit.
# (use "...
0
votes
1
answer
18
views
import error that doesn't replicate in different clones of the same repository
I have a big python project. When I try to execute a certain script I get an import error
something like:
from my_package import xyz
ImportError: cannot import name 'xyz'
Where my_package is an ...
-1
votes
0
answers
14
views
How to scan a Github repository for all imports and generate a requirements.txt file for ALL the dependencies in that repo?
When cloning a Github repository into a new virtual environment, often the scripts in that repository will not run in that new environment due to it missing certain libraries being imported and used ...
0
votes
3
answers
37
views
Running a Django application from a cloned repository that has environment variables
I'm trying to run a Django application from a cloned repository and I noticed that it has environment variables stored in the settings.py file(namely: the SECRET_KEY and DEBUG).
When running the ...
1
vote
1
answer
25
views
Cannot clone Github Repository as Github Desktop wont recognise it
I've began using Github Desktop and after having had a good look around I went to clone my Github repository. It has an SSH key and when I try to use either the Https url or SSH but with either my ...
-2
votes
0
answers
18
views
"sudo git clone" inside home folder is locked by root access in Fedora 35
I was cloning my project from github using the "sudo git clone" command like I normally do in Ubuntu, Zorin and other distros. With those distros, I can later edit the file. All work with no ...
0
votes
0
answers
32
views
pull from heroku gets empty git but there's an online site [duplicate]
Trying to retrieve old code for updating...
heroku git:clone -a appname
creates empty dir...
So:
$ git clone https://git.heroku.com/appname.git
Cloning into 'appname'...
warning: You appear to have ...
0
votes
0
answers
137
views
warning: Could not find remote branch to clone when pod install
Try to pod install.
pod run successfully at first and then i change it to older version. And run well
When i return it to new version it show error
[!] Error installing MoEngage-iOS-SDK [!] /usr/bin/...
0
votes
0
answers
18
views
how to clone all git repos from GitHub that belong to a team [duplicate]
we are using github.com for as our source control. I wondering if there is a way to clone all the git repo's from GitHub that belong to a team?
There are around 158 repo's that belong to the team
0
votes
0
answers
29
views
Why can't I download my data from Heroku?
I have a django web app deployed on Heroku. My local environment uses sqlite3. I can add data on the local environment and push it to Heroku - that's no problem. The trouble is if data is added to ...
0
votes
1
answer
43
views
Git clone a series of branches but not all
With this command, it clones all branches and then finally checks out on the specified branch:
git clone -b <branchname> <remote-repo-url>
With this command, clone only the specified ...
0
votes
1
answer
29
views
Why I need additional step when cloning if branch name is 'main'
In the past, when the default branch is 'master' when creating a repository, cloning will auto pull/fetch the files in the branch.
However after I change git global init.defaultBranch to 'main', ...
-1
votes
1
answer
52
views
How to transfer GitHub classroom private repo to my GitHub repo?
I have an assignment project which was created by GitHub Classroom and is also private. So how to transfer my project to my personal account with all existing commits?
0
votes
2
answers
75
views
Laravel public function not being read in controllers
I just cloned a Laravel/Vue.js project from Bitbucket (for a company I'm working with), trying to set it up on my computer. This isn't my first time doing this, as I've previously cloned and worked on ...
0
votes
0
answers
28
views
Cloning repository inside windows server within LAN
I would like to be able to clone a repository from within a remote server. developments needs to be done on the server itself (mandatory).
The remote server need to access a repository on a different ...
2
votes
3
answers
3k
views
Unable to negotiate with __IP_ADDRESS_ port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss
While using git clone in PhpStorm, I got an error message:
Clone failed
Unable to negotiate with IP ADDRESS port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss
Could not read ...
-4
votes
1
answer
50
views
Cannot see cloned repositry in my local Drive
I have cloned a repository in my local machine from GitHub using git but it showed me only readme note.
In actuality it has two branches master and main the project is in master not in main and readme ...
0
votes
1
answer
32
views
Git pull/Git clone returns blank value when using Invoke-Expression powershell
I am trying to run a Git pull and Git Clone command using Invoke-Expression mentioned below. In case there are any failures when running the below command, I wanted to capture the details on a ...
0
votes
1
answer
41
views
git (lfs) clone hanging for image files when executed from java application
In my Java application (running on Windows) I need to clone a git repository.
My command is:
<path_to_git>\bin\git.exe clone --depth 1 --branch <branch> <path_to_git_repo>.git <...
0
votes
0
answers
114
views
clone GitHub repository to Synology NAS git server
I've been working on a Flutter project, using Visual Studio Code configured to GitHub.
But I would like to use my Workplace's Synology NAS Git server instead.
Is there a way, to clone my GitHub ...
0
votes
1
answer
29
views
Move data from google drive to a repository which is cloned from github
I have cloned a repository from github to a colab notebook. Now I want to add some data from my google drive to one of the folders cloned from github. How should I proceed? Thanks for any guidance or ...
0
votes
1
answer
44
views
Load testing tool for Repository on GitHub Enterprise
I am looking for a load testing tool which can execute Git clone command to clone a repository on GitHub Enterprise for multiple users concurrently and provide me the metrics of performance. Please ...
0
votes
1
answer
282
views
Git clone from private github repository with Github Actions token
I need to do some directory grooming before my app is ready to be tested or deployed. I would like to utilize a Makefile target which calls a shell script in the repo to make this CI/CD-agnostic. One ...
0
votes
0
answers
28
views
What is this problem keep while git cloning?
POST git-upload-pack (175 bytes)
remote: Enumerating objects: 622, done.
remote: Counting objects: 100% (622/622), done.
fetch-pack: unexpected disconnect while reading sideband packet
fatal: protocol ...
0
votes
1
answer
88
views
Git clone: remove warning "you appear to have cloned an empty repository"
I want to remove the warning when I clone an empty repository with git clone.
Unlike this question, I want a solution that works for all languages. My computer is in French, and the message is warning:...
0
votes
0
answers
101
views
Problem for using Exoplayer Locally and forking
I'm going to use ExoPlayer with my changes, I tried locally and fork.
Locally problem:
It gives me this:
Software Components will not be created automatically for Maven publishing from Android ...
1
vote
2
answers
117
views
Why Github repo has no "clone" option?
Well, probably so dumb question but I am not sure even how to search for it, I am pretty new to github. What I do is just watching some tutorials and I want to download the code from the link shared ...
0
votes
0
answers
70
views
Clone AWS CodeCommit repository with python script
I am trying to clone an AWS CodeCommit repository via HTTPS within a Python script. Doing this in a terminal, I simply use git clone and then I get prompted to enter the git credentials I generated, ...
1
vote
0
answers
343
views
Cannot get whole repository Early EOF CURL 18
I have tried this a number of different ways to no avail. For work, I am trying to clone a fairly large repository. I couldn't clone the whole thing, so in Sourcetree, I changed the clone depth to &...
0
votes
0
answers
164
views
CloneCommand.ExecuteClone error ("Fatal error in forked process - fork: can't reserve memory for parent stack", Visual Studio 2022, Git clone command)
In VS 2022 (17.0 or 17.1), when performing a Git clone of any repo (I've only tested those in our Azure DevOps instance, but I don't suspect the repos are the issue), I get a VS error dialog with only ...
0
votes
0
answers
52
views
Cloning git repository from bitbucket is stuck
I am trying to clone a repository from bitbucket using http. I tried to clone from eclipse and got "Packfile is truncated." after 7 hours. It was taking hours in git bash too. If this is ...
0
votes
1
answer
23
views
Fetch fork of a huge Github repository without redownloading unmodified files
I cloned a repository from Github with this commmand: git clone https://github.com/user1/huge_repo. This repo is huge, multiple gigabytes.
Someone made a small edit to one of the files and pushed ...
0
votes
0
answers
35
views
git clone library and path on virtual machine
I git clone a github repo on my VM
I have a python script which uses this repo/lib but I don't know the best way to handle the path
the replo cloned looks like this repo/python/mylib on my VM
In my ...
1
vote
1
answer
23
views
issue cloning repos from github
I'm trying to run the FinRL notebook here but when I try to import the cloned libraries the finrl modules can't be found. I tried to check the file path where it said they were installed but I couldn'...
0
votes
0
answers
28
views
How to resolve this "git-upload-pack not found" in Sql Developer
I'm trying to clone my Bitbucket repository with SQL developer but i am getting the below error.
https://username@stash.cit.comp.comg:1234/stash: https://username@stash.cit.comp.comg:1234/stash/info/...
0
votes
2
answers
54
views
Checkout several branches from Git
I want to clone some Git repository on local machine, and create 3 folders:
master - for master branch of the project
tag777 - for the specific tag of the project
commit888 - for the specific ...
0
votes
0
answers
168
views
Failed to publish branch to remote Github repository
I am using Github desktop as an interface and I am trying to push an initialized repository onto GitHub. I actually created the repo on GitHub and cloned it into my local machine and thus is where i ...
0
votes
0
answers
39
views
How can I make someone review my code on GitLab and not give them permission to clone it?
My manager asked me to add a person to my GitLab repo to review it but this person should not be able to to clone it.
Also, can I add a person but so they can see only the branches that I want them to ...
1
vote
1
answer
407
views
git failed with error - is a directory add files inside instead
I have created new MVC project in my existing solution.
While adding these new project to existing solution, I am getting below error.
I am using VS 2019 now. Earlier, I was using VS 2017 in which ...
2
votes
1
answer
62
views
Unable to Git clone with a second personal github account
I have added a second github account on my laptop in addition to the first one. The document https://betterprogramming.pub/how-to-use-multiple-github-accounts-with-one-computer-c9ba3f851b75 did help a ...
0
votes
1
answer
187
views
Why does this "complicated" git clone/checkout cause gitversion to fail?
I have the following pipeline syntax code in a Jenkinsfile to clone a git repo:
checkout([$class: 'GitSCM',
branches: [[name: "${branch}"]],
...
0
votes
0
answers
24
views
git clone killed, cloning in other disk where os is not installed
I tried to clone git in linux using ssh and https both, but the operation is being Killed. Can you suggest what this problem could be regarding and also I'm thinking of doing the git clone in other ...
0
votes
0
answers
58
views
After cloning, repository is being deleted in WSL if it is not committed
I cloned a git repository in WSL and did some local changes to the repo. I closed the WSL terminal without adding or commiting my changes and my repository is deleted, if I open the terminal. My ...