Obtains a local copy of a remote Git repository.
Questions tagged [git-clone]
1359 questions
0
votes
1 answer
How to take update from source to Github Mirrored Repository?
After following the below instructions, i was able to create a mirror in my GitHub account. But after that how to take update from the source repository.
https://help.github.com/en/articles/duplicating-a-repository#mirroring-a-repository
Open Git…

Kishore Sahasranaman
- 4,013
- 3
- 24
- 50
0
votes
0 answers
Have cloned Python Flask application and deployed on Heroku. But its displaying ' Internal Server Error '
Cloned a previous Python Flask app and deployed on Heroku but its displaying 'Internal Server Error' and when checked logs it says
sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) could not connect to server: Connection refused
Is the…

Sia
- 47
- 1
- 1
- 9
0
votes
0 answers
Git clone doesn't get the new revision information from the Gitlab
I am trying to integrate the Gitlab and Redmine. The following is the history of the proceedings.
Git clone from Redmine server
cd /opt/git_repository/
git clone --mirror http://userid:password@aaa.com/test.git
cd /opt/git_repository/
chown…
0
votes
1 answer
What's the equivalent of git clone, using git init, git remote add, git fetch etc.?
As currently I cannot clone repositories from a Bitbucket server, I've found I can still do a series of git init, git remote add etc. to get the repository on my computer.
I would like to make sure I exactly produce the equivalent of a "clone".
Is…

Pierpaolo D.
- 15
- 7
0
votes
1 answer
Specify Download Directory
I am learning C and am downloading a GitHub repository through code. This downloads the code to the current working directory (essentially where the C app is executed from). Is there a way to set the download directory?
Meaning always always have…

Doctor Ford
- 440
- 1
- 5
- 17
0
votes
0 answers
How to set up an ssh key for read-only git access
I've looked here, and the accepted answer rejects setting up what I want.
My company has set up a git server. I have a private ssh key on my personal computer from which I can access that server, read from git, and write changes to git.
I also need…

Greg Dougherty
- 3,281
- 8
- 35
- 58
0
votes
2 answers
cloning git repository when folder and files already exist
I was working on 2 computers, alternating which one I use, and every time moved the whole thing between them. Then I setup git on computer A and synced it with github repository. So far so good.
Now I want to clone this to computer B, but git clone…

Vlad
- 1
- 1
- 4
0
votes
1 answer
Git clone all the repositories by bash script
I have join a company and my company has GitHub account and It has 50 repositories I want to clone all the repositories in one go
Is there any way to clone all repositories by run bash script
https://github.com/CompanyName

contactMon
- 76
- 1
- 8
0
votes
2 answers
Cannot clone git repo un EC2 iNSTANCE
I used the following command and tried to clone a repo but unfortunately the following error pops up. I cannot go further
ubuntu@ip-add-rr-ee-ss:~$ git clone https://github.com/repo/file.git
Cloning into 'file'...
fatal: unable to access…

tester moving
- 13
- 5
0
votes
1 answer
Would .gitignore items in the remote repository be copied in the local project repository by git clone?
Say, If I have a git repo established in the repository ssh://user@remotehost.com:port/home/user/public_html/,
and I'd like to clone it in my local project's directory, would the appended items in my remote host's .gitignore be included in the…

Jed
- 1,664
- 8
- 33
- 65
0
votes
1 answer
Azure dev ops -- Set Visual Studio 2017 (VS2017) as default for cloning project
Azure dev ops -- Set Visual Studio 2017 (VS2017) as default for cloning project?
I have multiple versions of Visual Studio installed, and for policy reasons, I need to keep them, at least for a while.
How do I set up Azure dev ops so that when it…

JosephDoggie
- 1,514
- 4
- 27
- 57
0
votes
0 answers
Why does Git Clone Fails Even with small repositories?
I have checked a few questions around this area. It seems malloc fail for insufficient memory is a common issue for massive files, and there are some work-arounds.
But my repository size (containing a readme, a few shell scripts, python scripts and…

Della
- 1,264
- 2
- 15
- 32
0
votes
0 answers
How to clone from a previous deploy on Heroku
So, I have seen previous posts like this on this site, specifically on the post here Cloning a previous version on Heroku, but the last step never works. I am not sure if this is just because the CUI has updated a lot or if I am just doing it wrong,…

Inside
- 1
0
votes
0 answers
Don't bring *.jpeg files when cloning in git
I have some CI process with initial step that clones the repository using
git clone
In this repository i have a lot of images that not mandatory for the CI step,
they downloaded by default by the git clone command.
Is there a was not to clone…

Alexander Gorelik
- 3,985
- 6
- 37
- 53
0
votes
1 answer
how to debug the git feature "insteadof"
the feature "Insteadof" (mapping HTTPS to SSH) clone requests works when I directly clone a REPO
This is done via my global git config file.
Put another way, "git clone https://url_module_K" works.
My global git config transforms this into a SSH…

user3696153
- 568
- 5
- 15