Questions tagged [git-svn]

git-svn is a bidirectional bridge between git and Subversion allowing to use a remote Subversion repository as a local Git repository while still be able to send changes back to Subversion.

This function allows a developer to work in git locally while still using a SVN repository as the master revision control system. They can use all features of git locally, and then check their files into a Subversion server when they are ready to commit. Running git locally allows the developer to use the staging area, do branching and merging, rebasing, cherry-picking, etc.

Basic Commands:

This makes a local git copy of the SVN repository:

git svn clone url://path/to/repo -s

Work with the files using the local Git repo. When ready to commit changes to git:

git commit -am 'What I worked on'

To commit back to the master SVN server:

git svn dcommit

If working with other developers and a merge is necessary, git-svn rebase pulls any changes from SVN to your local git repository.

1931 questions
0
votes
1 answer

Push a git-svn local repo to a different svn remote repo that already exists

I'm trying to integrate two svn repos. One is a kind of fork of the other. But it's not exactly a fork so i can't find a common point. I've cloned both repos in one local git-svn repo, each repo in one branch, and i have already integrated both…
Francisco Puga
  • 23,869
  • 5
  • 48
  • 64
0
votes
0 answers

Git Svn Command Errors On Svn Tag Containing A Trailing Space

I've inherited a Subversion (SVN) repository with 10 years of history, but when I am trying to convert to GitHub using git svn command, although the following command is running perfectly, I am still getting an error: Currently version 2.38.1…
Alan
  • 11
  • 2
0
votes
1 answer

Can't create session: Unable to connect to a repository at URL 'https://xxxxxxx' at C:/Program Files/Git/mingw64/share/perl5/Git/SVN.pm line 148

I have been able to download and migrate a SVN repository to gitlab, but I have faced a problem when trying to do the same with another repository located in other location(different url), because the "fit svn fetch" command answer with: Can't…
Miguel N
  • 1
  • 1
0
votes
1 answer

How to use git-svn for svn update?

Problem Background: I use git-svn for project management because my company uses SVN for its projects, but I want to use git locally because he has easy branch management and many good tools. Problem: Some of the code managed by SVN is set with…
0
votes
1 answer

Git SVN init doesn't get full repository

I am trying to migrate our SVN repository to Git. Our SVN repository looks like this: Repository name ->branches ->file1 ->file2 ->etc... ->trunk ->otherfile1 ->otherfile2 ->etc... I initialize the…
zhemaitis
  • 11
  • 5
0
votes
2 answers

git svn dcommit to sourceforge fails but it works via svn directly

I'm working on a Open Source project on SourceForge that uses Subversion. A few days ago I did a git svn clone and started tracking my changes using Git. After a while I tried to dcommit my changes back upstream. But that failed with the following…
ujh
  • 4,023
  • 3
  • 27
  • 31
0
votes
1 answer

Contribute to WordPress Plugin using SVN

I want to contribute to a WordPress plugin, I asked plugin support, and they only have the WordPress default SVN repo. I don't how to send pull requests using SVN, Can anybody assist me, please? Thanks
HeyMehedi
  • 1
  • 1
0
votes
1 answer

Determining SVN repo layout to migrate it to Git

I am trying to migrate a bunch of SVN repos to GitHub. It is important for the client to keep his history since it contains important intellectual property information. I am at the stage on my test repo where I have to git svn clone the repository…
Tallands
  • 3
  • 1
0
votes
0 answers

GIT SVN Clone - how to set the output/results folder

I'm able to complete the conversion, but don't like the resulting folder structure. The repository I'm converting to GIT is a Visual Studio Solution that contains about 10 Projects. The commands I'm using are: git svn init…
rwkiii
  • 5,716
  • 18
  • 65
  • 114
0
votes
1 answer

Team using git/git-svn to share work and only occasional svn commits

I am new to git but read this article by Martin Fowler where he describes a setup where a team works using git/git-svn and only occasionally commit to the central svn repo. Can somebody point to an article or screen-cast (or off course answer how…
Konstantin
  • 3,626
  • 2
  • 33
  • 45
0
votes
1 answer

How to git svn tag just some folders?

I've a standard svn repo: branches/ tags/ 0.1/ 0.2/ trunk/ devops/ code/ and i want to tag devops and code folders into tags/0.3 by git-svn. Use of git svn tag 0.3 instead creates a new tag with all the repo inside, including tags and…
turtei
  • 19
  • 2
0
votes
3 answers

Which version control software would be suitable for storing large video files

I want to use version controller for large files(Video files). And I want to modify files and check in many times. If I use git, it will store file content each time when I will check in. Is there any tool available which will store only the…
Royal Pinto
  • 183
  • 2
  • 3
  • 10
0
votes
0 answers

SVN to Git having custom folder structure

I have reviewed a number of stackoverflow questions and havent been able to find a solution for my issue. We are migrating from SVN to GIT. Unfortunately, we do not have the standard folder structure. Here is the structure I am trying to migrate…
0
votes
0 answers

Using git svn clone

In One of the Project I am working, I have been tasked to migrate SVN repository to Git. I have seen some Answers how to do it, I was trying to use git svn clone to clone svn repository to git. As Users are frequently using SVN repository I wanted…
bhardwajme
  • 65
  • 6
0
votes
1 answer

GIT SVN - Use SVN for Development and GIT for Release Important Milestone

We have team (Team A) of 10+ members, they change the code frequently and commit to SVN. Another team (Team B) is using GIT (Azure DevOps). We need to push source code (from SVN) changes at certain point of time (e.g. monthly once) to GIT. Use Case:…
Banng
  • 531
  • 1
  • 6
  • 19
1 2 3
99
100