Obtains a local copy of a remote Git repository.
Questions tagged [git-clone]
1359 questions
0
votes
1 answer
libgit2sharp branch not found on freshly cloned repo
libgit2sharp 0.21.0.176
C# on Windows Server 2008
I need to obtain reference to a specific branch.
On my Windows machine, I fresh git clone local repo from remote origin on GitHub.
Next I execute following libgit2sharp code :
var localRepo = new…

BaltoStar
- 8,165
- 17
- 59
- 91
0
votes
1 answer
Github Repository Stopping at 50%
I am using GitGui to clone a repository through Beanstalk app (I know, I should be using the CLI, but for now I am needing to use the GitGui). I am on Windows 7 (32bit), and I am also noticing that I am being prompted for the log in credentials a…
user4798748
0
votes
1 answer
Selectively init/update git submodules
I'm developing a RESTful framework that has the option to build HTTP and/or HTTPS support. The current HTTP only build instructions follow:
git clone --recursive https://github.com/corvusoft/restbed.git
mkdir restbed/build
cd restbed/build
cmake…

Ben Crowhurst
- 8,204
- 6
- 48
- 78
0
votes
1 answer
Is it possible to clone a private git repo without adding ssh keys
I need to clone a private git repo (not from GitHub) on multiple computers.
Adding private keys of the individual computers for git repo could be a solution but I'm worried it would compromise security. I don't want the computers to be able to write…

rhee
- 87
- 3
- 8
0
votes
1 answer
merge child directory to parent
I tried to clone a git repository, it created the directory in the wrong place.
I have a directory structure that looks like this:
/home/tendesig/public_html/respond/app/respond/
And want to merge the contents of the above directory…

Destination Designs
- 683
- 1
- 5
- 17
0
votes
1 answer
Get changes from one branch into another one in git and how can I work on my own branch
I'm a little lost with git, It's the first I use git with other people.
What I want to do is bring the changes that were made in a branch to the branch in which I am working, let's say that when I execute git branch --all what I see is this:
…

Patricio Sard
- 2,092
- 3
- 22
- 52
0
votes
2 answers
Git repository gets corrupted when I do a large commit: "Possible repository corruption on the remote side"
A friend of mine and I have been trying to use git for a project. It is hosted on his server, and I git clone it as:
git clone username@IP.ADD.RE.SS:/path/to/git/repos.git
Pretty standard stuff, and it works great for a while. But every time one of…

mindthief
- 12,755
- 14
- 57
- 61
0
votes
2 answers
How do I git clone in batch
I am very new to GIT. At the moment, I have more than 50 repos that I have to clone. I was hoping to automate this task.
What I want to do is to store all my repo names in a text file. And write a script that will read from the text file and run git…

nachanus102
- 33
- 1
- 4
0
votes
0 answers
git (v1.9.1) clone not auto tracking branch
I have few github repositories. When I clone a certain repository, the subsequent checkout of branches are auto-tracked. But it does not happen for few other repos.
My git version
root@e7440:~/dev_env/wq$ git --version
git version…

Reg Mem
- 611
- 1
- 7
- 19
0
votes
1 answer
Git cloning repository to existing one
I created a new repository and using git clone cloned it locally.
Now I have another repository with fresh Content Management System code.
I need to put the contents of that Content Management System to my newly created project, so I could start…

Edvard
- 1
- 4
0
votes
1 answer
Problems cloning a repository on github for a college project
I've been trying to clone a template for a project the we are ment to fork and download through cmd and I followed all the instructions for setting this up but now when I try on my laptop I it wont let me access it? I get the following…

conor tighe.
- 121
- 2
- 19
0
votes
0 answers
Heroku - installing Node.js -
I have just found Heroku and am following their tutorial to install a nodejs application here.https://devcenter.heroku.com/articles/getting-started-with-nodejs#prepare-the-app
But I ran into some problems when trying to do "git clone"
I have…
0
votes
1 answer
git clone then force divergence
I'm trying to make a permanent fork of a repository to make it a module of the top level repository. Essentially, I want to clone my original repository, then break history so that pull/push between the new repository and the old one will not be…

Andrew Hundt
- 2,551
- 2
- 32
- 64
0
votes
2 answers
Running rails git cloned repo locally: How to handle gem errors?
All the time when I do a git clone https://github.com/[REPO_NAME] and then cd into the repo and run bundle install I get
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/Users/name/.rvm/rubies/ruby-2.1.3/bin/ruby extconf.rb
*…

Antoine
- 559
- 8
- 21
0
votes
1 answer
Can't find my git repository url
So I think I am confused - but for some reason I cannot push or pull to my git repository.
I have a linux web server and have a web folder in /var/www/bcs.net.nz/
I did a git init bcs.git in this folder (I have also tried .git)
and then I thought I…

jwknz
- 6,598
- 16
- 72
- 115