git-svn

Installing Git - '$ man git' works, but '$ git' returns 'command not found'

Hey there, I'm a first time stackoverflow poster, long time reader. I'm dipping the toes into Rails and I'm trying to get git working. I've installed git using the OSX git installer, and can see the manual with $man git. But I can't for the life of me get any other commands to work. I've restarted the terminal as well. I'm on 10.5 if t...

Importing a Subversion repository with a non-standard layout into Git

I'm trying to (permanently) migrate my group's Subversion repository to Git, but I'm running onto problems trying to clean up its non-standard directory structure. Some of the project's content is contained in trunk and branches folders, but not all of it. The project on Subversion is laid out like this: project/trunk/ project/branches...

Unable to rebase git svn repo through cron job

I tried to update git svn repo (git svn rebase) with cron job, but I get this error. usage: git-cat-file [-t|-s|-e|-p|<type>] <sha1> error closing pipe: Broken pipe at /usr/local/libexec/git-core//git-svn line 4290 cat-file --batch: command returned error: 129 I've added git path in cron script, seems not helping. export PATH=$PATH:/...

Speeding up the initial git-svn fetch

I have a big repository, 100,000+ revisions with a very high branching factor. The initial fetch of the full SVN repository using git-svn has been running for around 2 months and it's only up to revision 60,000. Is there any way to speed this thing up? I'm already regularly killing and restarting the fetch due to git-svn leaking memor...

Using git-svn without appending git-svn-id

Can I use git-svn without having the git-svn-id: entries appended to my commit message? I have found the svn.noMetadata option comes with a warning (emphasis mine): This gets rid of the git-svn-id: lines at the end of every commit. If you lose your .git/svn/git-svn/.rev_db file, git svn will not be able to rebuild it and...

Is there any way of specifying a different author name on Google Code with git-svn?

My Gmail/Google username is not a username I generally go by, and one I'd rather forget. I don't seem to be able to change my Google username, but I contribute to a Google Code project using git svn. In Git, I can specify my name and e-mail address using my ~/.gitconfig file in the [user] section. Same with Mercurial and hgrc. But the ...

how to use nested branches through git-svn

our svn server has a trunk called Dev and Branches live in /Branches/Release/1.0/ /2.0/ /2.3.4/ i cloned it with something like git svn clone -T Dev ... -b Branches ... when I run git branch 2.1 remotes/Release/2.1 i get: fatal: Not a valid object name: 'remotes/Release/2.1'. How do I refer to the...

How do I list and fetch remote branches after SVN to Git migration?

I migrated our SVN repository to Git and pushed it to a central repository. We had a fair amount of tags and branches, but somehow we were not able to list and fetch those from a Git client. This was weird, because the tags and branches seemed to be available on the server. With help from a Jon Maddox blog post, a blog post from Marc...

Git SVN rebase to tags only

Hi, I'm extending an open source project with additional functionality. So I'll be basing my code on the released version of the source code. The open source project uses SVN and I uses Git. How would I rebase only to the released version (SVN tags) instead of to the HEAD of trunk when a new version is released? Thanks. ...

Export Entire Git Repo to SVN including Branches

Long story short, I have a git repo with several branches, and I would like to move it to an SVN repo while maintaining all of the branches and commit history. So far I have not had much luck, most of the methods I have found do not migrate the branches as I would expect. (they are combined, or ignored, or eaten by a grue) I was plann...

How can I do a git svn reset to HEAD revision without specifying the revision number?

How can I do a git svn reset to HEAD revision without specifying the revision number? ...