Obtains a local copy of a remote Git repository.
Questions tagged [git-clone]
1121 questions
-1
votes
1 answer
Git clone into repo as commit
Like most git questions, someone has likely already answered this. However, I was unable to find the solution.
I would like to clone one repository into a folder in another repository. However, I am having a hard time justifying a submodule since I…
![](../../users/profiles/5987669.webp)
Locke
- 2,041
- 12
- 26
-1
votes
1 answer
Git clone all the repositories by bash script
I have join a company and my company has GitHub account and It has 50 repositories I want to clone all the repositories in one go
Is there any way to clone all repositories by run bash script
https://github.com/CompanyName
![](../../users/profiles/10904709.webp)
contactMon
- 56
- 1
- 7
-1
votes
1 answer
Site get previous view after use git clone
I wrote some part of code to my project at work.
When I came home and clone this project to my clean xampp-->htdocs
I saw my previous project state.
I was trying to:
1) change push by git log, git checkout
2) download project file to computer…
![](../../users/profiles/9500254.webp)
Alex Khonko
- 1
- 2
-1
votes
1 answer
gitlab clone as another user
I'm trying to clone a project from another user, but I cannot.
I'm not asked for login and password.
git clone https://username:password@github.com/username/repository.git
error:
remote: The project you were looking for could not be found.
![](../../users/profiles/7738787.webp)
Arman Turebekov
- 37
- 1
- 4
-1
votes
1 answer
How to Cloning Gitlab Project by Using Hook?
i have my own gitlab server. I had created new-project, and i want to clone that project repositories to gitrepo on my local machine after doing first commit, can i do that automatically by using hook? if yes which hook i must use?
regards
![](../../users/profiles/8536397.webp)
Khrisna Savanna
- 1
- 2
-1
votes
2 answers
how to run git clone locally
I am new to git and i want to know how to use git repo. generally developers created for use our own.
jus like i want to use any node.js example code : Git Repo Link and i have clone it by git-bash also i have download the .zip file in my local…
![](../../users/profiles/7826181.webp)
Mani
- 9
- 2
- 10
-1
votes
1 answer
How can I clone github in cmd?
Thanks for help me
I need someone to help me in cmd I can't clone git in cmd
What do I need to do that ?
![](../../users/profiles/6638734.webp)
Bøy Øf Løndøn
- 21
- 9
-1
votes
1 answer
Couldn't resolve host 'git-wip-us.apache.org' while accessing https://git-wip-us.apache.org/repos/asf/thrift.git/info/refs
I am running Cloudera (Linux) and need to clone a server for thrift installation. The command I used is
Couldn't resolve host 'git-wip-us.apache.org' while accessing https://git-wip-us.apache.org/repos/asf/thrift.git/info/refs
However I am getting…
![](../../users/profiles/7561607.webp)
Jaydeep
- 1
- 1
-1
votes
1 answer
Trouble with connecting to Git Server via Jenkins
Friends, i keep getting the following error in Jenkins console.
"Failed to connect to repository : Command "git -c core.askpass=true ls-remote -h ssh://yyyyyyyy@gerrit.xxxxxxxx.com:29418/mobile HEAD" returned status code 128:
stdout:
stderr: Host…
![](../../users/profiles/4889846.webp)
Madhav Murthy
- 3
- 4
-1
votes
1 answer
How do I get from my local repository to a full clone?
If I am starting from scratch I can clone a remote git repository using the command
git clone --mirror
(Documentation.)
However I am not starting from scratch, I already have several branches locally (tracking the remote): all the…
![](../../users/profiles/575530.webp)
dumbledad
- 12,928
- 20
- 97
- 226
-1
votes
1 answer
How to clone github repository to particular folder of hosting without Repository name?
I have my repository on git and it works fine. Repository name is say XXX. Now when i goto my hosting service by connection with SSH and try to clone code with "git clone URL" command in my public_html/ folder, it creates public_html/XXX/. Is there…
![](../../users/profiles/2082947.webp)
Tejas P Mehta
- 57
- 1
- 6
-1
votes
2 answers
Git clone doesn't work remote: Repository not found
I'm trying to clone my private repo from the remote host and it works on every other computer but doesn't work for me for some reason.
I have already tried,
git remote rm origin
and
git remote add origin {{url for git repo}}
but no luck. Is…
![](../../users/profiles/1276310.webp)
CoderKK
- 313
- 1
- 3
- 16
-1
votes
1 answer
Branches other than master are hidden after cloning a Git repo?
When I do a git clone and then a git branch, only the master shows up. I only see the other branches from the remote when I do git branch -a.
Why are the other branches hidden?
![](../../users/profiles/3688869.webp)
user3688869
- 15
-1
votes
2 answers
GIT how do I know who or which users cloned the repo?
I've a private REPO in GIT 1.7 in a Ubuntu Server that is available for a group of users. I would like to know if there is a way to learn which user had already cloned that mentioned REPO. Is there a command to do this ?
Any help or comment is more…
![](../../users/profiles/1596718.webp)
Glauber Miranda Casanova
- 21
- 1
- 1
-2
votes
1 answer
Not all the files in the repo appear when I clone from gitlab
I can’t seem to figure it out and it’s been hours. I cloned a repo but not everything inside it appears. Basically I want to clone a repo that has a certain .ipynb that I want to run on jupyternotebook, but it’s not included when I clone the repo
![](../../users/profiles/15093820.webp)
Dani
- 1
- 1