Tag: git svn

Does Git store history when an empty directory was created?

I am converting Subversion to Git recently using git-svn. I know that I have to add .gitkeep to add an empty directory in Git. Does it mean that Git does not store history when a directory was created? My Subversion repository has many empty directories and if I added .gitkeep to all empty directories for […]

What is going wrong in my git svn workflow?

Since I prefer git over svn I’ve tried to clone the svn repository of my company and work on it over git svn. So far this works fine. I can receive svn updates and commit my changes as usual. However I’m having serious issues when changes overlap. I.e. I’ve been working on a feature which […]

Skip an SVN Commit in SVN to Git Conversion?

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 commit, this file was removed […]

git svn rebase misses/loses commits (on rebase –continue due merge conflict)?

I have a problem with missing commits, in a setup very similar to the one described in Unexpected merge error in a git svn system? (click for full size): Unfortunately, I cannot reproduce this problem in an example, so I’ll try to provide the information that I think is relevant. I work locally in myrepo_git_wc […]

Migrating from SVN to Git with non-standard svn layout (need full history)

I am trying to migrate an svn repo to git from this existing svn structure: branches/ branches/d10 branches/R10 We do not have a Trunk in the clssical sense. located at https://svn.mycompany.com/svn/project1/ I know this is the non stdlayout and I only really care about the R10 branch (the release branch). I have tried a few […]

git checkout from network fileshare

I have install git and tortoisegit successfully create a bare repo location of my network folder X:\Test\Test_Source\Test_repo\Test_Repo.git –> bare repo These are the folder in my repo 1. A 2. B 3. C How to checkout only folder B?

Syncing a Git repository with an SVN repository

I git svn clone ‘d the SVN repository a month ago and started building the source code with newer version of compiler. Within a month, the original SVN repo has changed (number of people made a bunch of commits). Now I want to have all those changes in the git repository. I tried adding svn-remote […]

How to migrate from SVN to GIT and keep history for moved files from different projects

I have the following SVN repository: Repository Project A trunk tags branches Project B trunk tags branches I’m now trying to migrate Project A from SVN to GIT using git svn clone. My problem is that Project A has files which were moved from Project B into Project A. The SVN History follows the move […]

Git move from SVN: Where does git 2.6 store svn tracking branches?

I have the task to move a project from SVN to Git and I followed the tutorial in https://git-scm.com/book/it/v2/Git-and-Other-Systems-Migrating-to-Git. The good point: it worked! The sad point, the tutorial seems to be out-dated when it comes to moving the remote refs for tags and branches. The tutorial states, that they are stored in .git/refs/remotes/origin/tags/* however, […]

Git repository using directory as externals

I have an SVN repository with some documents using the same reference (bibtex) files via svn:externals. Its contents looks like this: bibtex/ doc1/ -doc1.tex -bibtex/ (svn:externals) doc2/ -doc2.tex -bibtex/ (svn:externals) This way I could checkout each paper individually and obtaining the same reference. How can I setup the same with git? I read that submodules […]

Git Baby is a git and github fan, let's start git clone.