Obtains a local copy of a remote Git repository.
Questions tagged [git-clone]
1359 questions
0
votes
0 answers
Git clone a little bit at a time or other solutions
I'm working on a Windows machine, from git bash.
We recently moved our project from a TFS server to a git repo on the same server. As far as I know, this was all done in one commit. I am remote.
When I run git clone the clone will start, but…

Academiphile
- 1,434
- 2
- 13
- 21
0
votes
1 answer
django clone repo is not working
I clone a Django project from github. But when I ran the python manage.py runserver it showed the following errors. How to fix them?
python manage.py runserver
Traceback (most recent call last):
File "manage.py", line 10, in
…

Sakib Nawar Tanmoy
- 13
- 5
0
votes
0 answers
Clone repository failed error
I have a problem where I try to clone a repository and i'm getting the following error message:
fatal: curl_global_init failed
and this is what i'm trying to do:
$ git clone http://10.0.50.168:10000/WSW.git
it also happen when i'm trying to…

Eitanmg
- 566
- 1
- 8
- 20
0
votes
1 answer
Git push to remote repo has no effects
I have set up a repo at a server of mine like this:
> git init
> git config --local receive.denyCurrentBranch updateInstead
> git add *
> git commit -m "Init Git"
This is how I have pulled the repo, made some changes and pushed it back to the…

Jan
- 1,180
- 3
- 23
- 60
0
votes
0 answers
Git repo does not appear to be a git repository
I would like to set up a git repo without GitHub. On my server I have a initialized a git repo like this:
> git init
> git add *
> git commit -m "test"
Now I want to clone this repo from my server via SSH (no SSH keys, with password cause it is…

Jan
- 1,180
- 3
- 23
- 60
0
votes
1 answer
fork a Git repo locally (copy the Git repo?)
I am having a surprisingly difficult time finding an answer to this online.
I have a local Git repo on my filesystem. There is way too much history in there. I just need to clone it with depth=5 or so, etc.
I was thinking of copying the repo locally…
user5047085
0
votes
2 answers
Unable to clone repository using Egit and Eclipse
I have windows server 2003 as my Operating Systme.
I am using WAMP for my php development.
I am using Eclipse Helios for PHP Developers for my development.
I have installed msysgit and tortoiseGit which comes for windows to manage repositories.
I…

amar4kintu
- 831
- 11
- 21
- 32
0
votes
2 answers
git clone regularly has "inflate: data stream error"
We are self-hosting our git, first with Bonobo git server, now with gitea.
On more than one occasion, we got the error when trying to clone our main repo (2.2 GB .git folder):
error: inflate: data stream error (incorrect data check)
fatal: pack has…

Alexander
- 19,906
- 19
- 75
- 162
0
votes
1 answer
Git - Finding a file with its offset
I'm trying to clone a remote Git repo.
I've done it before without any issues, but on this project, I get the error
fatal: pack has bad object at offset 289293315: inflate returned -5
fatal: index-pack failed
How can I find which file is causing…

Zenoo
- 12,670
- 4
- 45
- 69
0
votes
1 answer
Git clone referencing deleted files
When we do a git clone on our projects it took a while to get cloned. We ran the following command
git rev-list --objects --all | grep "$(git verify-pack -v .git/objects/pack/*.idx | sort -k 3 -n | tail -10 | awk '{print$1}')"
It returned bunch of…

rajkumarts
- 399
- 1
- 7
- 20
0
votes
2 answers
Clone Jenkinsfile by changing default workspace from master to slave
I am working on Jenkins Pipeline Script and I have checked-in my jenkinsfile in Git repository and I need to clone to local work space. But by default its cloning to master (Unix) work space but I need it in slave (Windows) work space.
Is there any…

Aravind
- 53
- 1
- 8
0
votes
1 answer
How to update the repository locally through command line
I have cloned the repository locally using the command,"git clone repository-url"
to my local machine.Now suppose if there is any changes in the repository,How do I update it in local machine.Is there any command to do it?
another command 'git…

user123
- 11
- 1
- 3
0
votes
1 answer
git clone remote to remote without local copy
I want to clone from a remote A, and I want to push the clone to another remote B. I'm aware I can do this with 2 lines to have a bare clone from A to local and push to remote B.
Is this also possible without a local intermediate clone (similar to…

Bananeweizen
- 21,797
- 8
- 68
- 88
0
votes
1 answer
Git push submodule on server, pull empty directory
Hi I am pushing my changes using git push origin production on to server #1. When I git clone origin production on server #2, I get all my files except the sub-module. The sub-module is empty with no .git file. I was wondering why this is, and how…

Armando Silva
- 181
- 12
0
votes
0 answers
Converting bare git repository into a copy where I can see the files
I need to convert a local bare git repository to another form where I can see the actual files. My repository is roughly 13.5GB in size. Essentially, the repository is in a state in which it would be if it were hosted on a remote server.
I have a…

Idris.AH
- 410
- 1
- 10
- 22