Tag: git svn

git multiple repository management

I am working on a project where we manage external libs/headers and qa with git. Here is what every developers’ directory structure looks like: ~/dev/proj ~/dev/ext ~/dev/qa proj, ext and qa are different git repositories. Under svn, synchronization of these dirs was simple: a single update under ~/dev would update all of them recursively. With […]

git-svn clone or svn2git unexpectedly stopping

I am trying to migrate from git to svn with the following command: git svn clone –stdlayout https://my_sourcecontrol or with git2svn svn2git –notags https://sourcecontrol -v During the migration, it just stops with the following statement: W: -empty_dir: directory When I do a git branch -a I see it has imported the tags and a number […]

Unknown protocol error when using git-svn over HTTPS through a proxy server

I’ve been encountering some problems attempting to access a Subversion repository via HTTPS using git–svn. When I type git svn init –username=<my username> –trunk=https://<host>/<project>/trunk, I get the following error message: RA layer request failed: PROPFIND request failed on ‘/<project>/trunk’: PROPFIND of ‘/<project>/trunk’: SSL negotiation failed: SSL error: unknown protocol (https://<host>) at C:\Program Files (x86)\Git/libexec/git-core\git-svn line […]

restricting git svn to branches

Using git-svn it is quite beautiful to use my local git as a svn client. Unfortunately it seems not to be possible to restrict git svn to some branches? got One ‘*’ is needed in glob: ‘branches/v10’ when setting up two branches lines in gitconfig with fixed branch paths url = https://example.com/svn/reps/test fetch = trunk:refs/remotes/trunk […]

I tagged in git-svn, and now my master always commits to the svn tag!

I’ve got a basic git-svn setup: [core] repositoryformatversion = 0 filemode = false bare = false logallrefupdates = true symlinks = false ignorecase = true hideDotFiles = dotGitOnly autocrlf = true [svn-remote “svn”] url = https://svnserver:8443/svn/Project fetch = trunk:refs/remotes/trunk branches = branches/*:refs/remotes/* tags = tags/*:refs/remotes/tags/* I created a tag off the trunk (master in git) […]

how to undo commit

Hi I want to undo my last commit. What I did is I made some changes to file then I commit them but I have not push them to main repo yet. After git commit -m “comment” command I ran git status and I got this message Your branch is ahead of ‘origin/demo’ by 1 […]

Use Git for my own and Subversion in company

I would like to use Git for my own purpose and I must use Subversion repository in my company. I know that there is ‘git svn‘ command but it requires lineral history also in git repository. The problem with that is that I would like: – to synchronize git repository with another my git repository […]

git svn fetch: Could not unmemoize function `check_cherry_pick', because it was not memoized to begin with

I’m hitting the following error while running git svn fetch: Complex regular subexpression recursion limit (32766) exceeded at /usr/share/perl5/vendor_perl/YAML/Loader.pm line 517, <$IN> line 1. YAML Error: Can’t parse double quoted string Code: YAML_PARSE_ERR_BAD_DOUBLE Line: 2 Document: 1 at /usr/share/perl5/vendor_perl/YAML/Loader.pm line 523. Could not unmemoize function `check_cherry_pick’, because it was not memoized to begin with at […]

“git svn” command fails with error “git: 'svn' is not a git command. See 'git –help'.”

I am trying to execute this command on my redhat 6.5 box and it throws the error “git: ‘svn‘ is not a git command. See ‘git –help’.” I have git 1.7.1 installed on this box. Please help. git svn clone http://yourcompany.com/path/to/svn/project-abc project-abc

Retaining svn copy history when converting to git

I’m trying to convert an SVN repo over to multiple git repos. So far I have been using git svn clone svn_repo_project_path for each project in SVN. I have noticed that git does not seem to follow svn copy operations so the resulting history is much briefer than I expect. Suppose my SVN repo looked […]

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