Obtains a local copy of a remote Git repository.
Questions tagged [git-clone]
1359 questions
0
votes
1 answer
How to start working off a remote branch, Github
I am new to Github and i have a question that i have been trying to find an answer.
Say i have three repositories, Origin, Repo1 (my repo - forked from Origin), Repo2 (my colleague's repo forked from Origin).
We work on our own repos, and then make…

user2070333
- 335
- 2
- 11
0
votes
2 answers
Why I can't clone this GitHub repository when I am under a proxy?
I am pretty new in Git and GitHub and I think I have some configuration problem.
Yesterday I have correctly configured the SSH connection between my local GIT and my GitHub account. It works fine.
Today I go to the office where I am under a proxy…

AndreaNobili
- 40,955
- 107
- 324
- 596
0
votes
1 answer
Git: Fastest Way to Update a Remote Branch to Specific Revision (Haven't Cloned the Repo Yet)
The repo is very large, and I'm trying to script a process running on cloud VMs that start from scratch (i.e. no local cloned repo). Additionally, let's assume that copying a cached cloned repo from somewhere isn't an option.
Is there a way to tell…

internet user
- 103
- 1
- 5
0
votes
1 answer
Git clone from one server to another without superuser access
I want to setup a git environment for my coworkers and me between the dev server and the prod server (and later between local machines and the dev server as well). Installed git on prod, init, everything is fine.
Now I want to git clone the prod…

Jeremy Belolo
- 4,319
- 6
- 44
- 88
0
votes
1 answer
Clear origin url
Usually I start to work with new project from GIT this way:
git init
git remote add origin https://myurl.git
git clone
But what if I have entered wrong URL before git clone and now wont to clear it and add new one?
What is command that does that?

vico
- 17,051
- 45
- 159
- 315
0
votes
0 answers
How to clone project from different branch in visual studio 2015?
Currently i am worling with github
i have 2 branch in it
1)master
2)Abc
i want to clone project that is in ABC branch
please guide me if you have any idea
NOTE:"I want to do clone process trough visual studio 2015 because visual studio by default…

Shah Niral
- 121
- 11
0
votes
2 answers
git inheritance old path
I am starting with git. I initialed a repo and did first commits. To work with a friend I cloned my original repository ( with --bare) to an accessible location and started working on that copy with him. So both of our working copies are cloned from…

pmgast
- 3
- 4
0
votes
1 answer
Git commands like "git clone" are not working in Git Bash
I am following this MOOC to learn about Git. The first command I typed into Git Bash was git --version which gave me git version 2.8.3.windows.1.
Then I typed git clone https://github.com/udacity/asteroids.git in order to clone the repository. In…

Solace
- 8,612
- 22
- 95
- 183
0
votes
1 answer
Why can't I find my repo after Git Clone into SSH?
I am a beginning programmer going through this Test-Driven-Development tutorial. I've reached the chapter where I need to spin up a server and register some domain names that I can then use with my Django project and I've been able to do everything…

SeanMcD
- 3
- 3
0
votes
1 answer
Git only checkout certain directories
How can I setup my git project to only clone/checkout certain directories.
In my project I have the following directories
/dira
/dirb
/dirc
In some cases I would only like to checkout dira, in some cases I would only like to checkout dirb, and in…

zzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
- 5,711
- 8
- 54
- 70
0
votes
0 answers
can't clone repository from openshift cloud through git clone
I'm trying to git-clone a repo on redhat openshift cloud with ssh url, but the command hangs in the middle of the operation :
What could be the problem here ?

mounaim
- 1,132
- 7
- 29
- 56
0
votes
2 answers
Why is git downloading folders as files?
For some reason, when I clone a repository on my openshift gear some directories show as the name of the directory, but they are files without extensions. How can I fix this?

tristan
- 98
- 8
0
votes
1 answer
Why am I getting an empty repo when cloning my keystone app to local repo from heroku?
I first used the following link to create a new Keystone app from Heroku:
https://dashboard.heroku.com/new?button-url=https%3A%2F%2Ft.co%2FjbNu7UtZpn&template=https%3A%2F%2Fgithub.com%2FJedWatson%2Fkeystone-starter
Then I wanted to clone it to my…

Xenos54
- 13
- 1
- 5
0
votes
1 answer
Git : git clone with Bit bucket repository throwing fatal error
I am trying to clone my bit bucket repository to local by git clone command
Facing following Error :-
fatal: unable to access 'https://username@bitbucket.org/myrep/movieplace.git/':
Failed to connect to bitbucket.org port 1080: Timed out
I did…

Prasad
- 1,562
- 5
- 26
- 40
0
votes
1 answer
Clone branch to different folder in Github
Can I clone different branch to different folder in my local computer in github ?
And can I see notification if any contributor request a pull to master branch or my branch

moviehay0032
- 23
- 7