The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

It's possible to delete in repository up (or until) a certain date?

Ruggero Scarano
February 22, 2016

Hi.
I imported my sources from Visual Source Safe to BitBucket. But It's too historical data... (from 2000). It's possibile to delete all from a particular date and up to a date? I want to make two separate repository, one with historical data (until 2010), one with recent data (up 2010). It's possible?

Thanks! 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Mike Friedrich
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
February 22, 2016

Not by date.

You can try this once you know the commit hash at which you want to cut off.

See here:

https://developer.atlassian.com/blog/2015/08/grafting-earlier-history-with-git/

http://git-scm.com/blog/2010/03/17/replace.html

Ruggero Scarano
February 22, 2016

Thanks Mike, but my situation is a bit complicate...
I have 42 projects, each with own folder. This 42 projects that produced 42 DLL. Each projects has its own commits... There's a way to solve the problem, without going to see the name of every single commit?

 

Thanks!

TAGS
AUG Leaders

Atlassian Community Events