Obtains a local copy of a remote Git repository.
Questions tagged [git-clone]
1359 questions
0
votes
1 answer
What is 'remotes/remotename/HEAD' in my cloned Git repo?
I'm trying to set up a local Git repository that uses a specific branch from another repository as a starting template (possibly pulling changes to the template, but never — or at least almost never — pushing to the template) and I'm puzzled by the…

orome
- 45,163
- 57
- 202
- 418
0
votes
1 answer
Why is Git clone copying a different repository?
I'm following the AngularJS tutorial and am cloning the source code using the instructions:
Clone the angular-phonecat repository located at GitHub by running the following command:
git clone --depth=14…

StuperUser
- 10,555
- 13
- 78
- 137
0
votes
1 answer
Double .git folders
Assume a remote repo which filesystem is a folder, say MyRepo, that contains other folders, say A1, A2 and A3, and assume that those folders contains a bunch of files that I am tracking. Assume that I want to clone such a repo in C:\Foo , where Foo…

Barzi2001
- 989
- 8
- 24
0
votes
1 answer
How to add a cloned git repository to your own private repository
Sorry for the inexperienced question. What I essentially want to do is clone a Laravel starter project, use it as the basis for my own project and add it to my own GitHub private repository as a completely new project.
Via command line on my…

john_ch
- 103
- 9
0
votes
1 answer
Bitbucket host key verification issue on Packagist
I have a public repository on Bitbucket and I would like to submit it to Packagist for composer purpose. However, after entering git url and submitting, The error is showing up:
Uncaught Exception: [RuntimeException] Failed to execute git clone…

Ali Emre Çakmakoğlu
- 864
- 2
- 12
- 24
0
votes
1 answer
How do I fix multiple definition of `_meta'?
I cloned buildroot.After giving 'make' command its showing below compiler error.
/home/buildroot/instance-0/output/host/usr/bfin-buildroot-uclinux-uclibc/sysroot/usr/lib/libncurses.a(lib_options.o): In function…

Snehal
- 1
0
votes
1 answer
clone via http a git repo linked to /var/www
I have a webserver apache2 that can list files in the /var/www directory of my computer.
I have two bare repos repo1.git and repo2.git. The first is located in /var/www/git/repo1.git, while the second is a symbolic link:
/var/www/git/repo2.git ->…

Michele
- 2,796
- 2
- 21
- 29
0
votes
2 answers
Create both remote and local git respositories on same system?
I am having trouble with this. What I am trying to do is create a central git repository locally and then clone it to make a working copy. When I make changes to the clone and push the changes, I do not get any error in SourcTree but the changes…

TheTechGuy
- 16,560
- 16
- 115
- 136
0
votes
1 answer
Library projects in Eclipse missing after Github clone?
I cloned an existing git repository to my new PC.But after cloning i opened the repository folder in Windows explorer.Everything seems fine.But when i opened the same repository in eclipse,my library files seems to be missing,eventhough it is there…

Nevaeh
- 1,519
- 7
- 24
- 45
0
votes
1 answer
error with git clone
I have a strange problem with git. When I try to clone a repository (I tried with severals) the terminal outputs:
ma7730@debian:$ git clone https://github.com/qgis/QGIS-Documentation.git
Cloning into 'QGIS-Documentation'...
fatal: unable to access…

matteo
- 4,683
- 9
- 41
- 77
0
votes
1 answer
Why is git command not found over SSH?
I'm trying to git clone to my website over SSH through Terminal on OSX 10.9. I've definitely installed git - when I simply run "git" in a new bash window, Terminal shows me the most commonly used git commands. However when I run it while using SSH…

elewint
- 13
- 3
0
votes
2 answers
How to git clone this repository?
I want to clone this repository and used the command:
git clone https://github.com/wildfly/quickstart/tree/master/helloworld-html5
It doesn't work. I guess the URL isn't the format that's right. How can git clone this repo? Thanks.

ling
- 1,555
- 3
- 18
- 24
0
votes
2 answers
How can I clone a Git (Stash) repo which is in-premise in my company, on AWS EC2 instance?
In my company we use Stash for git repository, which is hosted in-premise datacenter. I want to clone a repository on AWS EC2 instance. I have tested the connectivity between ec2 instance and git server and I am able to ping it.
When trying to clone…

Shivansh
- 13
- 6
0
votes
1 answer
Github Repo in Visual Studio
I have cloned a github repo and am trying to run it in Visual Studio but cant seem to figure it out. How do you compile a github repo in visual studio?

Ian Pennebaker
- 233
- 4
- 15
0
votes
1 answer
Can I clone a remote git repository but reference a local repository for efficiency?
I have my local development repo on Windows at C:\Dev\myrepo, that was cloned from the remote repo is at git@githost.com:myrepo.git. I’m getting ready to deploy it and I'd like to clone the repo in a different location, C:\Publish\myrepo so that…

Sean
- 8,407
- 3
- 31
- 33