Questions tagged [git-clone]

Obtains a local copy of a remote Git repository.

1359 questions
0
votes
1 answer

Why are pack files less in size than the objects of the remote repo?

When we clone a remote we get we get instead of object packed files which seems to be some performance optimization to reduce size. But how is this optimization done? If I understand these are binary files with the same contents as the original…
Jim
  • 18,826
  • 34
  • 135
  • 254
0
votes
1 answer

Git - Clone subdirectory in server root

I've a project structure like this in a git repo: /Code /admin /api /DB /Docs-Files /UI-UX I want to clone /admin and /api onto my server www directory and keep it in sync with git, so that the structure on server becomes: /www /admin …
Kanav
  • 2,695
  • 8
  • 34
  • 56
0
votes
1 answer

Cloning/mirroring private Git repo for development

I'm in a development team doing some bugfixes for another company. The other company has our current code stored in their VCS, which is Git. However, only a few of us in the dev team have direct access to the Git repository via VPN. Now we want to…
Viktor
  • 487
  • 2
  • 8
  • 26
0
votes
1 answer

Clone and restore github project with downloaded zip file and revoke access to user

Please excuse my ignorance, I am new to github. I have been working with a developer who has been a living nightmare. I would appreciate advice on how to acquire my code and entire project and clone it to a new repository where I can have a new…
lefty99
  • 3
  • 2
0
votes
1 answer

git clone can not work on my mac terminal

larrybin at LarrydeMacBook-Pro in ~/test_site [$ git clone https://github.com/LarryBrin/coursera-test.git ] Cloning into 'coursera-test' ... Fatal unable to access 'https://github.com/LarryBrin/coursera-test.git/' : Failed to connect to…
Larry Brin
  • 1
  • 1
  • 1
0
votes
1 answer

git clone from bitbucket repository failed due to proxy settings

I had to change my system proxy settings while connecting to a public network.I reset the system proxy settings,but git clone is unable to connect to any repository as it's trying to connect through 192.168.128.1 port 8080,the earlier proxy…
Aneek Roy
  • 11
  • 3
0
votes
1 answer

How to define git remote url

Hi I am trying to clone git repository to my local machine. What I have is only git repository on other machine. Is there any command to get url from local repository? I just have /some/path/on/host1 which contains following…
Gayane
  • 627
  • 1
  • 11
  • 23
0
votes
1 answer

Git submodule commit

I have project Foo with it's own repository. Today i add existing project in my solution: copy all files from downloaded sources of new project Bar (not my repository), and set reference in VisualStudio (it compiles Bar than Foo). Now i change…
murzagurskiy
  • 1,273
  • 1
  • 20
  • 44
0
votes
2 answers

Why "git clone" is trying to use https

I am running the following git clone command: git clone http://gitlab.example.com/project/component.git But I get this error: Cloning into 'component'... fatal: repository 'https://gitlab.example.com/project/component.git/' not found As you can…
B Faley
  • 17,120
  • 43
  • 133
  • 223
0
votes
0 answers

Error on Cloning a Git Repository to client machine

Hi everyone I have pushed my Git bare repository to our cloud server with scp -r project.git root@serverip:/home/gitrepos That worked fine. Now I am trying to clone it to another location with git clone…
Harlan Gray
  • 341
  • 6
  • 20
0
votes
1 answer

How to setup github on your local using git?

I have my credential setup for git but when i try to clone private repository from github its throwing below error , Any idea what could be the reason of failing and how i can resolve this issue. error $ git clone…
hussain
  • 6,587
  • 18
  • 79
  • 152
0
votes
1 answer

Bitbucket repo has no branches, can not be cloned

I pushed some code to my bitbucket repo and tagged it. Under tags I can see the commits and the code changes, but when I look at the src folder that is empty. There are also no branches and when I try to clone that repo I get warning: remote HEAD…
Sunny
  • 605
  • 10
  • 35
0
votes
1 answer

How to run the meteor project which git cloned from the Github in different OS

I've created a meteor project in my Windows system,then it be pushed to my Git repository. Now I need to git clone to my Mac system and run it, but when I CD into the project folder and use "meteor" order in terminal line, It shows: "you need to…
J.Wang
  • 1
0
votes
2 answers

Cannot clone any repository under git protocol (using git clone git://)

I am under Ubuntu 16.04. I cannot clone any repository (i.e. git://yoctoproject.org/poky ; git://git.gnome.org/jhbuild ; git://git.gnome.org/rhythmbox etc.) under the git protocol. I generated public and private ssh keys with ssh-keygen and put…
Carlo Benussi
  • 165
  • 1
  • 14
0
votes
2 answers

Error:SSL peer shut down incorrectly

I'm coding in Android studio. I cloned a project from gitHub https://github.com/QuadFlask/colorpicker but I have this problem, I don't know how to solve it because I'm new in android studio.
Ghazal
  • 13
  • 1
  • 1
  • 4