Questions tagged [git-clone]

Obtains a local copy of a remote Git repository.

1359 questions
0
votes
3 answers

Git fatal error while cloning

Hey when i try to clone an repository it says: fatal: Repository "..." not found I tryed nearly everything to solve this issue but nothing works. Now i asked a workmate to try the same command, and at his computer it works. Can someone help? The…
Tim
  • 245
  • 3
  • 6
  • 18
0
votes
2 answers

Automatic git Pull on Cloned Folder in desktop

I have a folder on my desktop which is git cloned to a certain branch. Now I want to do a Automatic Git pull whenever something is pushed to that branch (Assuming there are no conflicts). How do I achieve this ? I am a novice in GIT. So looking for…
Nabin
  • 13
  • 4
0
votes
1 answer

How to backup repository created with hardlinks

We have created git bare in the shared mode and created the data repository by cloning the git bare. As both git bare repo and git data repo lies on the same file system, it seems the object files are hardlinked to save space. I wanted to backup…
user298800
  • 421
  • 1
  • 4
  • 5
0
votes
0 answers

"Parent module not loaded, cannot perform relative import" with textract package

As I'm working on Windows (ouch..), I wasn't able to install textract package correctly. I still tried to clone a git repository from here : https://github.com/deanmalmgren/textract I cloned it in the "site-packages" directory of Python 3, and I…
Marine9357
  • 41
  • 1
  • 6
0
votes
4 answers

How do you add missing branches to a clone of a cloned repository?

git clone and git clone --mirror are quite different: A standard git clone may be used as a workspace. The set of branches known to the origin are available to be checked out and worked on. A mirror is more like a backup. You cannot use it directly…
Bruce Adams
  • 4,953
  • 4
  • 48
  • 111
0
votes
1 answer

Download commit using git clone

With the git clone command and arguments --depth/--branch, you can download the last commit of a specific repository branch, but how to download a specific commit using its hash? P.S. The use of git clone and git checkout hash is not suitable,…
Tagor
  • 1
  • 3
0
votes
0 answers

Cloning bitbucket repo in local server and project viewed through android studio shows error in all java files

When I am cloning a android project repo from bitbucket everything happens successfully and all files get cloned in my local repo and when I try to open the project by android studio 2.3.3 as the project uploaded was created using android studio…
0
votes
2 answers

git push origin master creating empty directories in github

I have cloned certain github repositories to my laptop. Now I want to push these local directories to my github .When I do "git push origin master" everything does smoothly. But if I have a look at my github repository I can only see empty…
Samar
  • 351
  • 1
  • 3
  • 8
0
votes
0 answers

Fatal error occured while cloning respository from gerrit

when I'm trying to clone using ssh, cloning is succeeded but checkout fails.. Linux guys have no problem with the same operation Any ideas?
Arkadi
  • 1,153
  • 1
  • 14
  • 35
0
votes
1 answer

How to send a git submodule folder `.git` to the parent repository `.git/modules/` folder?

When you locally create git submodules as on this script: # Create the directory structure mkdir main_repo mkdir main_repo/unrelated_repo mkdir main_repo/unrelated_repo/main_repo_submodule cd main_repo # Setup the unrelated_repo cd…
Evandro Coan
  • 8,560
  • 11
  • 83
  • 144
0
votes
1 answer

Unable to clone hosted Repository using NodeGit

I have created a GIT Bare Repository in the Linux server. And while I try to clone the repository using Nodegit from the local workstation, I'm getting the following error., err { Error: received unexpected content-type errno: -1 }. Following is…
Ramesh Gurusamy
  • 138
  • 1
  • 6
0
votes
0 answers

fatal: repository 'https://raw.githubusercontent.com/emmetio/emmet/master/lib/snippets.json/' not found

For the same url,wget can get it ,git clone can't. url="https://raw.githubusercontent.com/emmetio/emmet/master/lib/snippets.json" wget $url An error occur when to get with git clone. git clone $url Cloning into 'snippets.json'... fatal: repository…
user7988893
0
votes
1 answer

How to undo /revert "heroku git:clone"

I try to clone one project from heroku using the command heroku git:remote -a projectname But i cloned the project in wrong folder. How can i undo it.
bjkpriyanka
  • 151
  • 1
  • 11
0
votes
1 answer

Git clone issue in cake

Cloning the source using below link http://cakebuild.net/api/Cake.Git/GitAliases/2ACDDC0F GitClone("https://github.com/cake-build/cake.git", "c:/temp/cake", "username", "password", new GitCloneSettings{ BranchName = "development"…
christo
  • 129
  • 1
  • 2
  • 13
0
votes
1 answer

git - can't clone (using SSH) from personal remote repository

on my terminal I do : git clone git@github.{myGithubUsername}/{my-repo-name} in order to clone a repo I've created on my personal GitHub account. I've opted to clone using SSH. I get : ERROR: Repository not found. fatal: Could not read from remote…
Kawd
  • 4,122
  • 10
  • 37
  • 68