# Delete branch during fast-import

2 messages from 2013-09-17 to 2013-09-17. Participants: Jason Miller, Felipe Contreras.
Thread: https://gitlist.dev/t/34951

## Jason Miller, 2013-09-17 17:49

Subject: Delete branch during fast-import
Message-ID: <20130917174954.GA28563@home.jasonmmiller.org>
URL: https://gitlist.dev/e/20130917174954.GA28563%40home.jasonmmiller.org

```
I'm trying out a rather large subversion import, and am trying to
figure out if there is a way to delete branches during a fast-import.

Right now I can think of only 2 ways to handle this:

1) End the import, do a git branch -D and then resume the import.

2) Scan the entire repository history, identify
deleted branches and handle them upfront so that they never have
conflicting names.

Is there a better way?

-Jason

```

## Felipe Contreras, 2013-09-17 19:54

Subject: RE: Delete branch during fast-import
Message-ID: <5238b378b6616_1b88104fe74471e@nysa.mail>
URL: https://gitlist.dev/e/5238b378b6616_1b88104fe74471e%40nysa.mail
In-Reply-To: <20130917174954.GA28563@home.jasonmmiller.org>

```
Jason Miller wrote:
> I'm trying out a rather large subversion import, and am trying to
> figure out if there is a way to delete branches during a fast-import.
> 
> Right now I can think of only 2 ways to handle this:
> 
> 1) End the import, do a git branch -D and then resume the import.
> 
> 2) Scan the entire repository history, identify
> deleted branches and handle them upfront so that they never have
> conflicting names.
> 
> Is there a better way?

Yes, support branch deletion natively:

http://mid.gmane.org/1377789808-2213-7-git-send-email-felipe.contreras@gmail.com

-- 
Felipe Contreras

```
