# Git svn dcommit -> ignore one commit

2 messages from 2011-06-01 to 2011-06-01. Participants: Dominik "Socek" Długajczyk, Matthieu Moy.
Thread: https://gitlist.dev/t/27516

## Dominik "Socek" Długajczyk, 2011-06-01 06:21

Subject: Git svn dcommit -> ignore one commit
Message-ID: <4DE5DA6A.8020201@codepill.com>
URL: https://gitlist.dev/e/4DE5DA6A.8020201%40codepill.com

```
Hi.

In my company, we need to use svn repository, but we want to use git. We 
decide to use git svn. Everyone will commit and push changes to git 
repository. One guy will pull from this repository and dcommit it to 
subversion. Everything looks ok, but in this repo we need some 
submodule. This submodule is already in subversion as "external". I have 
a commit, that adds submodule. This commit always fails when I use git 
svn dcommit. I can remove this commit by git rebase, but i have to do 
this always when I use dcommit.
My question: is there posibility to make dcommit ignore one specyfic commit?

Thanks
Dominik "Socek" Długajczyk

```

## Matthieu Moy, 2011-06-01 08:44

Subject: Re: Git svn dcommit -> ignore one commit
Message-ID: <vpqaae2lz4k.fsf@bauges.imag.fr>
URL: https://gitlist.dev/e/vpqaae2lz4k.fsf%40bauges.imag.fr
In-Reply-To: <4DE5DA6A.8020201@codepill.com>

```
"Dominik \"Socek\" Długajczyk" <dominik.dlugajczyk@codepill.com> writes:

> My question: is there posibility to make dcommit ignore one specyfic commit?

You can probably use "git svn set-tree" for the commit after the one you
want to ignore. Test on a dumb repo before doing it in production ;-).

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/

```
