Questions tagged [subgit]

SubGit is a program for maintaining the same code in Git and Subversion repositories.

SubGit is a tool to transfer commits from a Subversion repository to and from a Git repository. It allows users to use either Git or Subversion to work with the same repository, and is touted as an alternative to git-svn for large-scale migrations from Subversion to Git.

111 questions
8
votes
2 answers

Converting Git repository into SVN with SubGit

I am using SubGit to synchronize Git and SVN repos. When cloning a remote Git repo I want to preserve all the history of that repo. The steps I currently follow allow me to copy the history of the master branch only: svnadmin create…
Evgeny Arbatov
  • 143
  • 2
  • 8
7
votes
1 answer

How to find SVN revision in subgit repo?

I'm using Subgit to access a Subversion repo. It works great, but at times, especially when communicating with users who access the repo using an ordinary Subversion client, I'd really like to find to which SVN revision a particular changeset…
Magnus
  • 4,644
  • 1
  • 33
  • 49
6
votes
3 answers

decentralized development using git and git-svn

We have 2-3 small teams of 2-3 people. We all use git for local and svn for central repository and git-svn got sync. This is works all the time except when we want to share our code between the team it self. So we have tried out git pull, this…
CantGetANick
  • 1,799
  • 15
  • 25
6
votes
1 answer

How do I install Gitlab to run on a Subgit repository?

I'm just getting started with SubGit and would like to use Gitlab in conjunction. How would I go about using the Git repository provided by SubGit?
Jon Cage
  • 36,366
  • 38
  • 137
  • 215
6
votes
1 answer

SubGit: How to exclude branches?

I'm testing SubGit as a way of migrating from SVN to Git. What I would like to do is be able to create remote branches in the git repository that all users can use that does not sync back to SVN. I only want SubGit to track the master branch and…
David J
  • 733
  • 5
  • 19
5
votes
1 answer

Jira Subversion Mirror / SubGit remote error on push

So, using Subversion mirror(SubGit) with latest BitBucket (4.8.3). There are two changes made to master. One made directly and one made with a merge from a feature branch. When pushing the changes, get a SubGit error: XC2T@B104315 MINGW64…
BradW
  • 53
  • 5
4
votes
1 answer

Add Subversion revision in Git commit message on SubGit import

Im am using a simple on-time import to migrate an existing SVN repository to GIT. $ subgit import --svn-url http://svn/repo repo.git Everything works fine, but is there any chance to include the corresponding SVN revision number in each GIT commit…
Jensen
  • 1,229
  • 12
  • 27
4
votes
3 answers

Using subgit to migrate non-standard layout subversion repository with no branches, tags and trunk

I have been using subgit to convert my subversion repository to git. Unfortunately, I have a sub-project in one of my branches which is not in standard layout. The non-standard sub-project is not included in the conversion. The content of the…
Efox
  • 651
  • 3
  • 8
  • 19
4
votes
1 answer

How to set up subgit to mirror an svn repo that looks like a Windows Explorer hierarchy?

Being windows users, we created one svn repo with a hierarchy of folders. The bottom nodes contain the svn standard layout: ProjectA/ ApplicationOne/ ModuleX/ trunk/ branches/ tags/ …
N Burnett
  • 127
  • 1
  • 7
4
votes
1 answer

Does subgit support multiple 'branches' directories?

Does subgit support multiple 'branches' directories? For example, if one had an SVN repo that went like: trunk/... branches//... releases//... tags//... but "releases" was really just release branches. We would want both…
zgpmax
  • 2,777
  • 15
  • 22
3
votes
2 answers

How to skip generating .gitattribute file?

I am required to not to include .gitattribute. but subgit add it to the repository. could I know how can I stop subgit adding .gitattribute file?
Gayan Viranka
  • 443
  • 1
  • 6
  • 17
3
votes
1 answer

Why repository size doubles when i copy notes?

I import SVN repository using Subgit, which is an excellent tool doing it fast and supporting custom svn layout. Subgit saves git commit -> svn revision reference in git notes. Every commit has revision number in notes, you can see it with git log.…
Kirill
  • 6,762
  • 4
  • 51
  • 81
3
votes
3 answers

How to set subgit to work after rebooting

I’m trying to translate our subversion repository to git using subgit tool. I established subversion to git repositories successfully and it has been working normally some time, but changes from subversion stopped to appear in git after I rebooted…
dnov
  • 31
  • 3
3
votes
2 answers

SVN trunk overwritten by old release. Project and trunk folder have now different histories

BACKGROUND We have an SVN repository with multiple projects: ROOT - Project1 - trunk - Project2 - trunk ..etc Then we started a migration to git. We setup subgit to keep SVN and GIT repositories in sync (both-ways). For a few months…
cornuz
  • 2,678
  • 18
  • 35
3
votes
1 answer

Subgit: avoid to synchronize git branches onto svn

I am trying to use SubGit but I am facing a problem with branches: I would like branches created under Git to live and die inside Git only. I found this: SubGit: How to exclude branches?, but it says The troubles come from merge commits: if commit…
ThanksForAllTheFish
  • 7,101
  • 5
  • 35
  • 54
1
2 3 4 5 6 7 8