git-svn

Is there an acceptable GUI client for git-svn?

My employer uses subversion for version-control, and this is unlikely to change. I'm interested in learning more about git, and using git-svn to interface with my employer's subversion repositories. My question is: if I were to begin using git-svn, would I need to do some or all of my version control work from the command-line? Or is the...

Git serve: I would like it that simple

I want to know how to simply publish over http = much like Mercurial's hg serve! On the Windows/work box do this: git serve and then on the Linux box SIMPLY go: git clone http://project project finished. ...

Retroactively Correct Authors with Git SVN?

I have a repository which I have already cloned from SVN. I've been doing some work in this repository in its Git form and I would hate to lose that structure by cloning again. However, when I originally cloned the repository, I failed to correctly specify the svn.authors property (or a semantically-similar option). Is there any way I...

Programmatically tell difference between git-svn and git repos?

I've got some shell stuff set up that dynamically defines aliases depending on what sort of VC repo the CWD contains -- so, for example, 'd' runs 'svn diff' or 'git diff', depending. (Based on this blog post, if anybody is interested...) I'd like to define some aliases differently depending on whether I'm in a git repo versus a git-svn ...

Commits missing after incomplete "git svn dcommit"

I'm missing a few important commits after my computer lost power in the middle of a "git svn dcommit" operation, and I'm unsure of how to get them back. "git log" doesn't show the commits, any ideas? ...

Why does git svn dcommit lose the history of merge commits for local branches?

I have a local git repository created with git svn clone. I make a local branch, make some changes, switch back to master, git svn rebase and if it's all good, I merge my branch back into master. Then the tree looks something like this: Sometimes, later when I git svn rebase again and get some remote changes, it loses the fact that ...

Can you specify which svn branches with git svn?

I think my question is somewhat similar to CaptainPicard's but dissimilar enough that I feel compelled to ask so here goes. I have an old SVN repository with around 7500 revisions and part of those 7500 revisions are some pretty large .fla files. And these .fla files exist in a number of the branches which have been created. As a result...

How to commit a Git repo to an empty repo SVN server?

I have setup an empty svn on a server and I have been working on locally making commits along the way. Now I wish to commit my repo to an svn server. For this I tried: git-svn checkout http://remote.svn.server.com git-svn dcommit Git complains that: Use of uninitialized value in concatenation (.) or string at /usr/bin/git-svn line 41...

Is it possible to have a subversion repository as a git submodule?

Is there a way to add a subversion repository as a git submodule in my git repository? Something like: git-svn submodule add https://svn.foo.com/svn/proj --stdlayout svn-project Where https://svn.foo.com/svn/proj points to a subversion repository. I know there is git-svn which allows one to interact with a subversion repository. So I ...

Git - best practices (in general, and from a perspective of former SVN user.)

Hi, Recently I have learned the basics concepts of Git. We did use a bit of git-svn to get familiar with using it. I would like to start my first "true" project on git along with my friends. Therefore I would like to ask you what are the best practices of using Git in general, and if there are any pitfalls that SVN familiar developer m...

git-svn not a git command?

While attempting to get an old svn dump of a project under git control, I ran into an interesting problem. Whenever I run git svn, I get an error saying it isn't a git command, yet there is documentation for it that I can pull up using git help. Is there something wrong with my install, or am I just missing something here? Edit: I sh...

How to partially export a git repository?

Hi! My company uses git internally and we publish some of our work as an open source on Google Code which uses svn. (Should it support git, the problem would be probably the same.) The problem is that we publish only part of our repository, so using git-svn as described on http://code.google.com/p/support/wiki/ImportingFromGit will not...

How much of the power of git is lost by using git-svn and a shared subversion mainline?

I'm evaluating various options for getting our team away from CVS. We have another large team on another site using Subversion, and some of our developers work with the Subversion server. Therefore, Subversion is an obvious choice for our team. However: Operations involving the Subversion server can be coffee-break slow (although we ha...

Git SVN fetch nothing occasionally

Below svn branches have been added into .git/config file. [svn-remote "svnb02"] url = https://svn/repos/Project/branches/b02 fetch = :refs/remotes/git-svn-b02 [svn-remote "svnb03"] url = https://svn/repos/Project/branches/b03 fetch = :refs/remotes/git-svn-b03 But only "svnb03" can be fetched using bel...

git clone of git-svn tree?

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/rebase' to move changes between the git-svn tree and the SVN repo it's based on. This seems to work okay as far as moving things back and...

Avoiding conflicts while using git-svn

Folks I'm facing repeated code conflicts while pulling from the shared git repo in the following scenario: There is a common svn repository There are several developers who track/sync this common svn repo with their own local git repos using git-svn bridge(via git svn rebase/dcommit) From time to time these developers using git need to...

Cloning a Non-Standard Svn Repository with Git-Svn

I'm relatively new to Git, but I've found it so easy to work with at home that I'd like to use it at work where our projects are stored in Svn repositories. Unfortunately, the repositories are slightly non-standard and I'm having trouble getting them cloned. Sure, they all have trunk, branches/ and tags/, but branches/ and tags/ have sub...

Using git-svn: Pull, Merge or Rebase?

I've been fighting the git/git-svn learning curve and last night, as part of that learning curve, I did something very, very bad. I've since gotten it corrected, but I'm hoping to understand the error my ways. I have an svn repository from which I've cloned the trunk and branches (tags I ignored since we don't work on those). Using git...

Does Git-Svn Store Svn Passwords?

I'm using git-svn with a couple of work projects and I've noticed that for just about every action I take, I get prompted for my Svn password. For some actions, I get prompted multiple times (presumably b/c there are several actions going on behind the scenes). For example, when cloning a repository, I'm prompted 5 times before the cloni...

Workflow and help with git, 2 svn projects and a single "workcopy"

Hello, I'm relatively new to Git, but I want to give it a try (vs SVN and Bazaar) Can anyone recommend me a workflow for a situation similar to the following: 1 SVN repo, with several projects 1 working copy "src" The ideea is that in "src" I need to checkout project A or sometimes project B. Both projects have several branches. F...