Questions tagged [git-clone]

Obtains a local copy of a remote Git repository.

1359 questions
-1
votes
1 answer

Windows git bash: git clone https://github.com/... results with fatal: working tree ... already exists

So I'm trying to clone a repo from here https://github.com/nglglhtr/getter-setter I created a new folder FirstDapp and opened git gui here then opened git bash from there then I entered: git clone https://github.com/nglglhtr/getter-setter then the…
-1
votes
1 answer

Cloning github respository

I want to change literally one word from a java project on github and compile it to .jar I cloned the code using github desktop app and open it with visual studio code but there are 259 problems I don't know what. enter image description here I…
leo
  • 3
  • 2
-1
votes
2 answers

git clone doesn't find the remote repo

I'm trying to clone a GitHub private repo. I've access to it So what i do is (HTTPS) git clone https://github.com/xxxx1/xxxx2.git When i do that i receive: Cloning into 'xxxx2'... remote: Repository not found. fatal: repository…
-1
votes
1 answer

Could not read from remote repository and does not appear to be a git repository erros

I have no experience with Git. I have to clone a shared folder that I have access to from K: drive into my local drive C: However whenever I go to C:\GitRepository in Git CMD and I write : git clone K:\GitRepository\Code I get this error : fatal:…
McCruise
  • 29
  • 5
-1
votes
2 answers

why i am getting that error ? fatal: Remote branch redux-basics not found in upstream origin

I am using that command to clone a branch of a repository but I don't know why it throws that error git clone -b redux-basics https://github.com/mschwarzmueller/reactjs-redux-basics.git why that command returns me that fatal: Remote branch…
-1
votes
1 answer

how to restore head after git clone? tried searching everywhere

Here is the error message on git clone: ... Receiving objects: 100% (8122401/8122401), 3.12 GiB | 3.31 MiB/s, done. Resolving deltas: 100% (6746605/6746605), done. error: invalid path 'drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c' fatal: unable…
Atharv
  • 11
  • 2
-1
votes
1 answer

Cloning a repository not locally, but in a server

Let's say I want to clone a Github repo from somebody but not to my local machine, but to my Github so I can work from the Github website and push changes from there. Is this possible? I seem only to be able to "download" locally whenever I want to…
-1
votes
1 answer

Bad: git cloning problems

After cloning when i try to install it shows the following warnings and is unable to install. I clonned this very repo once before and it cloned successfully. But after that i had uninstalled git and deleted all the cloned contents. Now when I try…
-1
votes
1 answer

How to start cloned rep Yii2

How can i start project cloned from bitbucket, based on Yii2, on my localhost? Composer is installed. When i clone it, composer update give me nothing. composer create-project --prefer-dist yiisoft/yii2-app-basic inside this project dont work, with…
Juka Chu
  • 29
  • 2
-1
votes
1 answer

Passing parameter to linux shell to clone from git repository

I have a script.sh that performs the "clone" operation of a git repository. Currently, the script works correctly with the target branch written in hard on the corresponding line. /usr/bin/git clone https://my-url-repository --branch master…
-1
votes
1 answer

How to work on dev branch but keep master as default clone branch

I have a local repository I use to develop some feature. I would like to share that feature while also continuing development on it. For that I want to have a development branch. I want to allow people to clone my local repo and receive the master…
Sapir
  • 1
  • 1
-1
votes
1 answer

Unable to git-clone: "fatal: protocol error: bad line length character: logi"

Windows 10, key stored in running Pageant, GIT_SSH set to path leading to plink.exse. The commnand goes through on Linux, so I guess the problem is with Windows and SSH settings? The line I am calling is: git clone…
Faire
  • 706
  • 1
  • 9
  • 31
-1
votes
1 answer

How to make a new clone command or add clone options in Gerrit?

The download-commands plugin makes a few very useful commands available for cloning repository and fetching patches. As for clone commands, it gives clone and clone with commit-msg hook. However, I would like to either add a new clone command or…
DMX David Cardinal
  • 599
  • 2
  • 7
  • 19
-1
votes
1 answer

git svn clone for a non-standard layout

I have a SVN repo that I need to move to GIT. For historical reasons that predate my role and that I cannot resolve, the layout is as follows (let's call the project "project" for lack of a better…
luis.espinal
  • 10,331
  • 6
  • 39
  • 55
-1
votes
2 answers

Bitbucket is not cloning all folders

Yesterday I pushed all my project files to a repo called my repo Today, when I clone the repo on another computer it clones all files except one folder which name is something like event-calendar[2340sdfda0s] Can you tell me how can I get all…
Shibbir
  • 1,963
  • 2
  • 25
  • 48