Git clone fails with “bad pack header”, how to get remote log
I have a problem with my build system.
I have a remote server with a relatively large repository (around 12 GB, each branch having a size of 3 GB).
I have also 2 build servers (Mac, Windows) that are cloning the repo from the remote.
I am using scm-manager to manage my repository.
Sometimes (very often when several git clone are sent at the same time), I have the following error:
remote: internal server error
fatal: protocol error: bad pack header
I know that it happens when the remote is compressing objects (thanks to
--progress -v flags) because the last line of the log before the erro is:
remote: Compressing objects: 93% (17959/19284) [K
- So I have 2 questions, does anybody know what is the problem and what should I do?
- Is there a way to get a more precise log from the remote to debug this problem?
I posted this message to git user mailing list and someone advise me to update my version of git. I tried with 1.8.0 on my remote server but seems to not solve the issue.
The bug has been reported to git mailing list (which is different than git user mailing list :))
Hopefully more news later.
After discussing that with the git guys, it seems that the issue comes from scm-manager. I ended up by using ssh connection.
So I've created a git repository, set up some tags and remotes on my working copy, and then pushed the repository to my server with git push --mirror my.remote.repository Supposedly, pushing with git
In my git repositiory, whenever I do any git commands like git status or git log, I get the error: fatal: bad config file line 1 in .git/config How do I rebuild that file or a new one?
I have a remote project that have a branch. So I first clone the repo. Then issue the following to the clone to work on a branch: git checkout -b <name> <remote_branch_name> Then I made t
I have my git bare repo initialized in remote server folder /home/bare/mygit.git I've cloned this repo: git clone firstname.lastname@example.org:/home/bare/mygit.git . Then I was working with project, doing co
This is my first time to construct the git server. When I use TortoiseGit-126.96.36.199-32bit to handle the operation, everything is fine! But if i use the git clone command or git bash, the git clone proce
I have a few git repos on a local server and I want to synchronise them with Github for remote access. How do I clone these local repos to Github? After this, is it just a case of assigning the github
We are trying out GIT to manage our repo. To start off, we are 4 developers working under the same VPN connected. We have a central server on which we have created a bare repo like this: git init --b
I try to clone a svn repo to git, but some of the branches are in the svn root dir like follows. I've tried $ git clone svn://url/svn-root -T trunk -b branches -b branch1 -b branch2 and $ git clone
Wondering how to fix this problem in Windows ? When i try and use the command git push origin master I get git-receive-pack: command not found Any idea how I can fix this in windows ? The path t
I am on Ubuntu and am trying to git clone some packages off arago-project.org However, I do not seem to be able to do this. My laptop is connected via WiFi to my home wireless router. carson@carson-la
I have a remote git repository and I have cloned one branch git clone -b branchName git@servername:/home/myproject.git I make changes in my cloned repo and I commit. I run a git log --pretty=oneline a
I've got a 'git-svn' working tree. I'd like to clone a pure git repo off this, and then use git push/pull to move changes between the git-svn tree and the git tree, while also using 'git svn dcommit
Is there a way to clone a git project with more than one remote repos? For example, in addition to origin, I would like to have a few other remote repos to push and fetch the data. Is it possible to
Jenkins version: 1.429 Git plugin version: 1.1.12 I am unable to get the Git plugin to clone a Git repository. It fails with the error Command git clone --progress -o vipor V:\VIPOR c:\Program Files\
Unable to clone to repo : (Any help would be appreciated) I am trying to clone the repo from Perforce. I have permission to repo. Verified. git p4 clone --destination=/workspaces/git/lotus/main //dep
I did git clone git://foo.git cd foo ...edit files.. now I want to start fresh. I don't care about any changes I already made, but I don't want to clone the whole giant foo.git again, just lose all m
Is it possible to ssh to a remote server and trigger a git clone. ie I need to ssh to server A, create a folder /tmp/A and clone a repository with all its contents on A. The ssh keys of the remote ser
I have started using git. I have cloned the master on my local system. I make the changes on the local machine and use git push to the update the master. It works fine. I have a quick query how to upd
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)
I've got a Maven project with some git submodules linked. Everything works fine until I do a release:prepare or :perform, the clean checkout these targets perform does not contain the submodules (or i
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
Possible Duplicates: How do I push amended commit to the remote git repo? Undoing a git push Hi, I've deleted some commits from my master branch by using git reset --hard SHA_VALUE I have, however
I have installed an SSH server on Windows Server 2008, and initialized a git repo. I'd like to clone this on my dev environment, so that I can commit and push changes. Having trouble figuring out th
I am new to Git.I want to clone my remote github repository (git://github.com/eltejaee/BIC2.git) with python script.I know that dulwich and gitpython are suitable but I couldn't clone or pull with
I'm trying to get tizen's source code from https://review.tizen.org/git/ by using: git clone git://review.tizen.org/git But I get: fatal: The remote end hung up unexpectedly How to fix this? the si
Possible Duplicate: How to do a “git export” (like “svn export”) Is there a flag to pass to git when doing a clone, say don't clone the .git directory? If not, how about a flag to delete the .git di
I am trying Git, and so if i do mkdir foo cd foo git clone git://github.com/some_repo/sdk.git so my project folder will now have sdk, which is a library or an sdk. How to make sdk part of my project
From git-clone(1) Manual Page --branch can also take tags and detaches the HEAD at that commit in the resulting repository. I tried git clone --branch <tag_name> <repo_url> But it does
On Cygwin using git-svn performing remote operations such as: git svn rebase git svn dcommit etc. Causes one of many strange error messages to occur regarding bad config files $ git svn rebase fatal
I have a remote repo called FOO which has the two following revisions : commit1 commit2 I have a directory 'bar' which contains all the files for commit2 but I am missing the .git directory and all m
when i try to clone this repository: git clone email@example.com:laravel/laravel.git I get this error: Cloning into 'laravel'... Permission denied (publickey). fatal: Could not read from remote reposit
I am having some personal git repos on my ownCloud. I can clone it from 2 ubuntu machines and a Windows PC by accessing ownClouds webdav url: http://myserver.a/remote.php/webdav/repos/repo.git Recentl
How can I get the current remote for my post-receive hook? I need to get both my current remote and my current branch: I know how to get my current branch (using: branch=$(git rev-parse --symbolic --
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'm attempting to clone a large (1.4GB) Git repository to a 32-bit Debian VM with 384MB of RAM. I'm using Git 188.8.131.52, and using the SSH protocol to clone ('git clone firstname.lastname@example.org:/my/repo') The clon
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
How do you delete a git tag that has already been pushed to origin?
I would like to know if these two git commands are the exact same? git clone git://git.yoctoproject.org/poky --branch daisy git clone -b daisy git://git.yoctoproject.org/poky.git
I have executed git remote rm origin and I still get the following result. Executing git branch -r returns no result, and when executing git remote rm origin again, I get Could not remove config se
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
Is it possible to make git clone do git clone --recursive by default?
How do we clone a repo which is in the local directory to a remote mchine directory machine1:/usr/rep/ -> clone this to machine2:/var/new_repo what is the actual command for this EDIT1 I am tryi
I am trying to rebuild a git repo from an existing clone using the steps below: git init --bare project.git git remote add project project.git git push --all project I noticed that this does not push
A git clone is set up to support pushing/pulling back into the original repository. How do I use git-remote (and/or other commands, configuration files, etc.) to change the two repositories such that
I keep hearing people say they're forking code in git. Git fork sounds suspiciously like git clone plus some (meaningless) psychological willingness to forgo future merges. There is no fork comman
I'm trying to clone a local git repository. The repository's name contains a `:'. This is confusing both me and git. I get the following error: ~/work/c% git clone ../a::b . Initialized empty Git repo
After doing a pull from a remote repo, my local repo is in a strange state. git log does not show the commits from the remote repo. The files that should be changed are unchanged. git status shows tha
I have access to a private remote repository on bitbucket and running git clone on it. The files seem to copy fine but package.json in the root of the repository is completely ignored, although I can
I run the following: git svn clone --stdlayout --no-metadata -A users.txt -r 3760:4662 svn://kumquat.geoplan.ufl.edu/Projects/S4-Geocoding S4-Geocoding-SVN.git It begins running and runs fine for a w