Git Pull and Clone From HostGator Fails
I'm working a small drupal site, and I'm trying to pull and push changes from my local Windows box to a remote shared hosting account on HostGator (linux). I have installed the git bash on my machine, and setup passwordless login within the Git Bash. That seems to work fine.
Here's my command:
git clone "ssh://email@example.com/~/public_html/.git"
Here's the complete response:
Cloning into public_html...
error: git upload-pack: git-pack-objects died with error.
remote: Counting objects: 3330, done.fatal: git upload-pack: aborting due to possible repository corruption on the remote side.
remote: fatal: unable to create thread: Resource temporarily unavailable
remote: aborting due to possible repository corruption on the remote side.
fatal: early EOF
fatal: index-pack failed
Here's what I've tried:
Last login: Mon Jan 23 14:38:07 2012 from xxxx
[firstname.lastname@example.org]$ cd public_html
[email@example.com]$ git fsck
I've also tried deleting the local and remote git repos, doing another git init and commiting everything fresh. I still get the same error when trying to clone the repo to my machine.
Why can't I clone (or pull) from the remote site? How do I fix this issue?
Is there a way to do a git pull that ignores any local file changes without blowing the directory away and performing a git clone?
What are the differences between git pull and git fetch?
Although I cloned a repository before, but now whenever I try to use push, pull or even clone the repository again, it asks for the password, I provide it then i do not get any sort of feedback for a
i have cloned my project from the git.before that it was working fine now when i am running the project in Xcode then getting error: Script-304B58A110DAC018002A0835.sh: line 2: cordova/lib/copy-www-bu
Is there a way to pull/fetch code from a specific tag in a repo. Am aware that after clone, i can checkout to the tag but is it possible to specify a tag during a pull? In ClearCase i can rebase or de
How can I run 'git clone' from script so it won't prompt for my password? Is there some way, like entering the password on the same line with git clone? (I have my own git repository. Not github)
Yesterday we had this very strange situation with git: We created a feature branch as we always do. Then, somebody would work for some days on that feature branch. In the meantime, something importan
If I want to install a package into Sublime Text 2, I can use the Package Control plugin. But say I want to install a package that is not available through that means. I am told to 'git clone' from gi
This question already has an answer here: Undo git pull, how to bring repos to old state 3 answers I was working on production server on master branch. Accidently I did git pull origin newbran
How to use git-svn clone to only get the HEAD vevision from a Subversion repository? I been trying git svn clone -s http://svn/java/<projectname> but I been getting a lot of empty directory an
I'm new to Git. Starting work on any project seems to start with a git clone. But this seems to take a long time - much longer than the equivalent svn checkout. Is this because the entire history
I'm trying to clone a remote repository on github, but it is big and my connection doesn't seem to be stable enough, so I can't clone it successfully. But I have successfully downloaded the .zip of th
Our version control manager recommends us to use git pull --rebase to pull new changes from upstream branch. I want to use EGit (Eclipse plugin for git) to execute that. How can I do this?
I'm in my EC2 /var/www directory and want to get the contents my Github repository, htdocs. When i'm here: /var/www $ If I type: git clone firstname.lastname@example.org:tim-peterson/htdocs.git Then Git makes a dir
when i am trying to get latest code from repository git pull origin master a message appear, error: Your local changes to the following files would be overwritten by merge: profile-summary-portlet/.
I've read several other 'git hangs on clone' questions, but none match my environment and details. I'm using git built under cygwin (msys git is not an option) to clone a repo from a Linux host over S
I have a project in svn that is set up as: project branches/ tags/ trunk/ when ever I do a git svn clone -s -r ##:HEAD path/to/svn All I get is a series of file and folders that I believe comes from
My origin has a fixes and a fixes_v3 branch. My client has just fixes. I do a git pull git+ssh:/.../mygitrepo and suddenly on my client I have all the fixes_v3 code in the fixes branch. Why on earth d
I am using Git on Windows. After numerous local changes and committing them locally I performed a Git pull from our remote repository. I found that after doing this and having a few conflicts, large a
I have a project with multiple branches. I've been pushing them to github, and now that someone else is working on them i need to do a pull from github. It works fine in master. But say I have branch
RPC failed; result=22; HTTP code = 401 with '@' in username When I'm trying to use HTTP URLs and a username containing a @ character with Git, I get RPC errors from git push. For git clone I have to d
I am currently developing inside a virtual Ubuntu box with Git, and I need to clone this repo to another CentOS VM. I don't know how to describe the git repo's location using the user@server:/path.git
I've got a new git that for some reason I can't clone on one machine. Clone works fine from my laptop and various desktops, but from an older server with git --version 188.8.131.52 I get the following erro
I'd like to have a Git setup something like below. Developer 1 --push--> --> Github <--pull-- our server (public www folder) Developer 2 --push--> The main objective is to keep a copy of
I am working to automate the task of 'git pull' from bit-bucket server to my godaddy shared hosting. I have installed Git on Godaddy server and able to 'git clone', 'git pull' etc from command line re
I'm trying to update a git repo from a bash script and I've run into some trouble. I can run git pull and have it work if there is no other lines or characters after the git pull but if I say have #!/
On my git, I have a file called b.txt On my local machine, I do not have this file. I tried git pull to retrieve the file from git and place it into the directory of my local machine, but it says: A
I'm trying to clone a new SVN repository with little more than trunk/branches/tags in it, but it fails with relatively little information: git svn clone --stdlayout https://mydomain.com/svn/myrepo Ini
I have a GIT clone of an SVN repository. Based on the CAVEATS section of the git-svn documentation, it appears I cannot clone this git repository again: For the sake of simplicity and interoperating
I tried to clone or pull repository from GitHub but nothing happened and also no error :( git clone https://github.com/test/test.git test Cloning into 'test'... after this message nothing else. Any
Git newbie here. I'm setting up git on a new Ubuntu VM and trying to clone some repos. The clone works for the following command: git clone http://github.com/organisation_name/repo_name (after prompt
i would like to run a git pull and specify the directory. some say using --git-dir and --work-tree should work but such as git --git-dir=/var/www/.git --work-tree=/var/www pull put this returns a c
I want create a name space and push to a bare repo, here is what I have done, Push works, clone, pull did not. GIT_NAMESPACE=work created an empty repo and added come commits done git push to a bare r
I am new to Git and am trying to clone repo from another directory. Lets say I have one repo in C:/folder1 and C:/folder2 I want to clone the work in folder1 into folder2. What would I type into the c
When I try to clone from git git clone http://github.com/symfony/symfony.git d:/www/a/vendor/symfony I've got an error Cloning into 'd:/www/a/vendor/symfony'... error: Couldn't resolve proxy '(nu
I just made a new repository on github. Starting with a folder full of files, the steps I did were: git init git add -A git remote add origin ... #Now pull in the first commit that github made git pul
This question already has an answer here: git clone can't resolve proxy 4 answers I have installed Windows 8 (before that, I use Windows 7). At Windows 7, I use git command everything normally.
When trying to do a git pull I get You have unstaged changes.. When I do a git status it says: nothing to commit (working directory clean). Why? I can do a git reset --hard, then pull, but I don't u
Evaluate (shell-command-to-string git pull -q) in emacs *scratch* buffer hangs emacs. From htop in bash,I noticed that after the git pull process which is forked from emacs ended,there always leave
:) I have a production *nix server that gets the updated files from github using git pull. My problem is that there are outdated versions of some plugins in app/code/community/, which would be pul
I'm new to git and trying to clone an existing repository and getting the following error: git clone https://www.github.com/bharadwk/weenix-kernel Cloning into weenix-kernel... Username: Password: err
No matter what git clone url I use, git always clones one of my old projects from bitbucket. For example when I do something like this: git clone https://github.com/heroku/php-getting-started.git ins
I wrote a post-receive hook to pull from central when somebody else is pushing. My problem is that I see: remote: git: 'pull' is not a git command. See 'git --help'. However, when I pull manually, ev
Is it possible to make git clone do git clone --recursive by default?
I'm trying to switch from svn to git on windows 7 using git svn clone command. On one of my repository I try this: git svn clone --stdlayout --no-metadata -A users.txt --username=/CN=john https://pat
I'm a newbie in using git version control, I got this error when running git pull origin master, this is the error : From /opt/mygit/abc * branch master -> FETCH_HEAD error: Untracked working tree
Why this Ruby code doesn't work? It's supposed to clone a git repository from a remote server. pipe = IO.popen( 'git clone myUserId@10.10.0.53:/prj/Common/git/MyProject', w+ ) pipe.puts 'mySecretPas
From time to time I encounter this issue. Let's say that I did following to read the source code of rails because I am running into some issues. git clone git://github.com/rails/rails.git During the
all, I encountered a problem about git on github on my Ubuntu. I have configured a proxy setting by git config --global http.proxy proxyserver:port But when i type git clone email@example.com:myusername/
Sometimes I type accidentaly the wrong branch name, when I do git pull origin BRANCH. Is there a way to forbid git pull origin XXX when XXX is not the same branch I have currently checked on my l