Obtains a local copy of a remote Git repository.
Questions tagged [git-clone]
1359 questions
0
votes
1 answer
git svn: No remote branches after cloning
I am trying to use git-svn for a svn repository. Unfortunatelly I can't seem to get it work.
As I clone the repository
git svn clone https://svn.tugraz.at/svn/reponame
I get the message that an empty git repository has been initialized:
Initialized…

Stefan Falk
- 23,898
- 50
- 191
- 378
0
votes
1 answer
iOS and Android Code GIT Clone conundrum
I have been working on a project for both native iOS and Android apps. Now that my parent projects are done, I need to run clones for them. These clones will use more or less the same code but with different languages, resources and possibly XIB…

Farrukh Javeid
- 634
- 6
- 25
0
votes
1 answer
Egit - Clone repository from github hangs on receiving objects
I am trying to clone the GWTP repository on github using egit.
It receives objects up to 93% quite fast, then hangs for about 10 minutes and gives me a Java Heap Space error. This happens using HTTPS and SSH protocols:
I upped the git window cache…

slugmandrew
- 1,776
- 2
- 25
- 45
0
votes
0 answers
How to clone a local Git repository using Node.js?
I'm trying to clone a Git repository that resides on my local drive into a new folder. So far, I've tried several modules, from which creationix/js-git seemed to be the most promising one.
The code to fetch I use is:
var source = '...',
…

Golo Roden
- 140,679
- 96
- 298
- 425
0
votes
3 answers
Cannot run "git clone" from php on a Minimac
I have a problem executing a git clone on a Minimac 10.8.5.
If I execute the command from a shell, it works.
If I execute the same command from a php file (through a button press on a web page), I get
"error: ssl peer certificate or ssh remote key…

marco
- 1,686
- 1
- 25
- 33
0
votes
1 answer
What is the customary start-up steps for using git on a new machine and existing repo?
What's the standard start-up process: git init + git clone or should git clone do the init for us?
I have been using git in my workplace, and now one of my co-workers wants to start looking at my code.
I have been using the GitHub for Windows (G4W)…

qxotk
- 2,384
- 5
- 24
- 39
0
votes
1 answer
Clone a remote repository to github without downloading on your PC
There is a remote repository (not hosted on github) that I would like to clone to github. Is it possible for me to clone it to github directly without making a clone of it on my computer. If yes, How can I do this?
user2286243
0
votes
1 answer
windows git bash wont clone directory
I am having trouble cloning a git repo using git bash.
Basically im trying to do the following from the angular js tutorial angular js tutorial
#Clone the angular-phonecat repository located at Github by running the following command:
git clone…

Robbo_UK
- 11,351
- 25
- 81
- 117
0
votes
2 answers
Removing a boost::filessystem directory that has had a git_repository cloned to it by git_clone
I'm using boost::filesystem and libgit2 to clone a git repository to my pc.
It all works fine until I am finished and try to remove the directory to which I cloned the repository.
When doing this I get a R6010 abort(). Here is the code so…

user2983377
- 166
- 1
- 4
0
votes
1 answer
Create git repo on local PC and then clone repo across local file system in linux
I would like to create a git repo on my linux PC for testing so that I can then clone the repo elsewhere on my PC and do some git testing (push, pull etc...), but I don't want to use a network server - I want my local PC to also be the "repote"…

code_fodder
- 15,263
- 17
- 90
- 167
0
votes
2 answers
Why can I clone the main repository but not a branch?
I have a branch of a repository on github I am trying to clone. i can clone the main repository at the url https://github.com/pmyusername/myrepository (not actual link since the data is private). However, I cannot clone the branch located at…

Philip7899
- 4,599
- 4
- 55
- 114
0
votes
1 answer
Git update without project folder
I have setup a repository in Github. I have used SSH protocol to establish connection to that repo in my web hosting. Then I have cloned the repo without the project folder like this.
git clone git@github.com:{username}/{git-name} .
All works…

sakibmoon
- 2,026
- 3
- 22
- 32
0
votes
0 answers
Cannot Clone EGit Repo on Eclipse
everyone. I've been struggling with this for a long time now. So I started an Android application using the Android Development Tools (ADT) on my computer and now I want to move this project into a repository on my Ubuntu Desktop 12.04 server, so…

lipusal
- 155
- 2
- 9
0
votes
1 answer
Tackling a network issue with git clone --recursive
I am unable to clone git repositories with submodules.
$ git clone --recursive https://www.github.com/lagadic/visp_auto_tracker.git
Cloning into 'visp_auto_tracker'...
remote: Counting objects: 275, done.
remote: Compressing objects: 100%…

hAcKnRoCk
- 1,118
- 3
- 16
- 30
0
votes
1 answer
How to fetch two different commits of the same project to different local folders using GIT
I am new to Git so please bear with me. I am trying to grab two different commits of a same project, specifically a current commit and an old commit with certain hash. I want them to clone it in separate folders (so that they don't overwrite and I…

NewUser07
- 97
- 1
- 1
- 6