git error: “The remote end hung up unexpectedly, invalid characters in (..path..)”

I am getting this error on my windows machine, both from tortoiseGIT/ GIT UI/ command line fatal: invalid characters in /apps/saturn fatal: The remote end hung up unexpectedly git did not exit cleanly (exit code 128) Could someone suggest what’s wrong with it, and what invalid characters the error message is referring to

Is it possible to run git commands without git prefix

As the title says, is it possible to start an interactive git shell where all the commands are automatically prefixed by git? So instead of doing: git fetch git add git commit I want to be able to do something like this: git -i #start the ‘interactive’ git shell, not the right command obviously fetch […]

how to control ownership of files auto-pushed to a git target repo by commit hooks?

i created a bare repo @ /srv/repos/test i set ownership to wwwrun:www with SUID+GUID bits set chown -R wwwrun:www /srv/repos/hub chmod ug+s /srv/repos/hub ls -ald /srv/repos/test drwsrws—+ 10 wwwrun www 4.0K Mar 7 21:28 /srv/repos/hub/ i cloned the repo to a webroot, and changed its ownership, git clone /srv/repos/hub /srv/www/siteA chown -R wwwrun:www /srv/www/siteA for […]

Git workflow for different versions of a framework

We have the following setup: Three apps which are similar to each other with the common code extracted into a framework. Each app is managed in their own git repository and includes the framework as a git submodule. The problem is that the apps are now developed in parallel with new features being added to […]

restricting git svn to branches

Using git-svn it is quite beautiful to use my local git as a svn client. Unfortunately it seems not to be possible to restrict git svn to some branches? got One ‘*’ is needed in glob: ‘branches/v10’ when setting up two branches lines in gitconfig with fixed branch paths url = fetch = trunk:refs/remotes/trunk […]

What is the tree hash of a specific commit hash?

I need a shell command-line which puts the tree hash corresponding to a specific commit hash. I know that git cat-file commit $COMMITID | grep ^tree can do it, but I have to filter the output of that. Is there any command which prints only the hash?

Why do I always have to merge manually on git pull?

I am a new user of git and can’t figure out how to get around this. I have had some experience with SVN and am going by SVN behavior. Any time I pull files from remote repository, and the file I have modified are also modified remotely, it needs merging. I can understand merge conflicts […]

Cannot push to GitHub

First of all, yes, this is an exact duplicate of a wrongly closed question. I have the exact same problem as the original poster (and just like him, I haven’t been able to find anyone else except him with this problem). I’ve been struggling with this problem for over 1 month now, and even had […]

Lion OS – brew update returns “Failure while executing…”

I am trying to update my brew, when I set brew update I get this error: error: Your local changes to the following files would be overwritten by merge: Library/Formula/imagemagick.rb Please, commit your changes or stash them before you can merge. Aborting Error: Failure while executing: git pull -q origin refs/heads/master:refs/remotes/origin/master or error: The requested […]

Heroku Git Repository Size

During late development of an application I’ve been git pushing to heroku such that the repository there is fairly large. I would like at this stage, before site launch, to remove all old versions from the repo as it seems sensible housekeeping. What would be the best way to go about this so my online […]

Git Baby is a git and github fan, let's start git clone.