FAQ Database Discussion Community


How to tell git-svn that files are NOT binary

git,svn,migration,git-svn,gitattributes
I am converting a large SVN-repo (~28k Commits) into Git using git-svn. When the process was through (~ 1 1/2 weeks) I encountered some .ps1-files being treated as binary in the diffs. I have commited a .gitignore file on master (after the conversion of course) that tells git to treat...

Migrating Codeplex SVN to Git with git svn clone

git,svn,git-svn,codeplex,migrating
In the past (2013), I was able to migrate a repository from Codeplex (under SVNBridge) to a Git repository. I'm trying to do this again, with the same repository, and the 'git svn clone' method is not working. Basically, it creates the .git folder and it's all. No code is...

SVN to Git: Keep only trunk content with “basic” history

git,github,git-svn
Background: I am migrating to Git a large SVN repository with 40.000 revision and 20+ GB of data. I have got my repository fetched from SVN by running git svn fetch with the following .git/config settings: [svn-remote "svn"] ignore-paths = ^[^/]+/(?:branches|tags) <--- note ignoring tags and branches url = https://svn_server/repos/my_repo...

Git - xcode - single project multiple developer on LAN

ios,xcode,git,svn,git-svn
Using facility of git which is provided in the xcode I have setup one project. I got the understanding about the branch, commit etc from This link Now I want to share this project with the other developer who can make change in this project from his own mac. Both...

Git-svn creates a detached branch root

git,svn,git-svn
I migrated an svn repository's trunk to git. I then made some commits to the git repo. I am now migrating an old svn branch to the new git repo. To do this I added svn-remote.url and svn-remote.fetch config to .git/config. When I now do git svn fetch and subsequently...

Git: missing subdirectories after clone

git,svn,version-control,git-svn
We are in the process of switching to git for our Version Control system. I used 'git svn' to clone my current svn repository "bigproject" to a git repository - I also setup a cron to sync svn commits to this git repo. "bigproject" has no defined externals or svn:ignore...

Using “git svn” with two working trees

git-svn,tortoisegit,git-clone
I am starting to use git as a Subversion client at work. For now I've been using TortoiseGit, more or less how I used to use TortoiseSvn, but with local commits, branches, merges, rebases, cherry picking. It is a big project and switching a branch and recompiling everything takes too...

How to completly turn off git line endings auto correction

git,git-svn,gitattributes
I'm writing a script that migrates our SVN repos to GIT. I have discovered that one repo contains a .gitattributes file (with content like * type=text). That unfortunately means that all files are modified (line endings are auto corrected). I don't want that because as a next step we are...

git-svn workflow for an svn “super repository”

wordpress,git,git-svn,git-submodules,git-subtree
I'm trying to use Git to manage a WordPress installation. I'd like to be able to bring in various WordPress plugins as submodules and update them to specific tags as necessary. The problem is that all WordPress plugins are hosted in a single Subversion repository with over a million commits....

git svn clone died of signal 11 on OSX

git,svn,git-svn,osx-yosemite
I'm trying to migrate a project from svn to git. I was using the osx svn package, but I also tried installing with homebrew. I keep getting this same error. git svn clone http://myserver/myrepo error: git-svn died of signal 11 Version information: git --version git version 2.2.1 svn --version svn,...

Migrating from SVN to GIT with tags/trunk/branches/release with a extra folder

git,svn,github,git-svn,tortoisegit
I have SVN project with the below directory structure root |-->branches |-->trunk --> file 1 --> file 2 |-->release --> file 1 --> file 2 |-->tags |-->tag1 |-->tag2 |-->tagN The problem with moving from SVN to GIT is I can map SVN to GIT branches -- branches tags -- tags...

Understanding git-svn configuration

git,svn,git-svn,git-config
git-svn man page has this example: [svn-remote "project-a"] url = http://server.org/svn fetch = trunk/project-a:refs/remotes/project-a/trunk So, as I understand it, it configures the svn to fetch changes from http://server.org/svn/trunk/project-a, which is a result of concatenation of the relative path of trunk/project-a and the root url, which is http://server.org/svn. Is this correct?...

Push git repository to remote subversion with history

git,svn,merge,git-svn
I'd like to push my existing git repository with its' complete history into a remote subversion repository via git-svn. Is this possible without losing the commit history? I already rebased my changes so, there is only a master branch up to date.

Skip an SVN Commit in SVN to Git Conversion?

git,svn,git-svn
I am doing a large migration from SVN to Git. This migration goes back through about four years of history. I am able to successfully push commits up to a certain date, (Nov 11). On this date, there was one commit that pushed a 7GB file, and in the following...