On Fri, Aug 9, 2013 at 6:32 AM, Johannes Sixt wrote:
> Am 8/9/2013 12:03, schrieb shawn wilson:
>> The question still stands though - why is that unassociated commit left
>> there?
>
> Because your command did not remove it. filter-branch does not know that
> it is "unassociated" when you ask it
On Fri, Aug 9, 2013 at 6:03 AM, shawn wilson wrote:
> On Fri, Aug 9, 2013 at 2:50 AM, Johannes Sixt wrote:
>> Let's check: After running your command above to remove other files, does
>> the command
>>
>>git filter-branch -f HEAD webban.pl
>>
>
> Ahha, no but:
> git filter-branch -f HEAD -- w
Am 8/9/2013 12:03, schrieb shawn wilson:
> The question still stands though - why is that unassociated commit left there?
Because your command did not remove it. filter-branch does not know that
it is "unassociated" when you ask it to follow all commits beginning at
HEAD. But when you say 'HEAD --
On Fri, Aug 9, 2013 at 2:50 AM, Johannes Sixt wrote:
> Am 8/9/2013 8:33, schrieb shawn wilson:
>> On Fri, Aug 9, 2013 at 2:25 AM, Johannes Sixt wrote:
>>> Am 8/8/2013 23:11, schrieb Phil Hord:
On Wed, Aug 7, 2013 at 5:07 PM, shawn wilson wrote:
> On Wed, Aug 7, 2013 at 6:43 AM, Johannes
Am 8/9/2013 8:33, schrieb shawn wilson:
> On Fri, Aug 9, 2013 at 2:25 AM, Johannes Sixt wrote:
>> Am 8/8/2013 23:11, schrieb Phil Hord:
>>> On Wed, Aug 7, 2013 at 5:07 PM, shawn wilson wrote:
On Wed, Aug 7, 2013 at 6:43 AM, Johannes Sixt wrote:
> Am 8/7/2013 8:24, schrieb shawn wilson:>
On Fri, Aug 9, 2013 at 2:25 AM, Johannes Sixt wrote:
> Am 8/8/2013 23:11, schrieb Phil Hord:
>> On Wed, Aug 7, 2013 at 5:07 PM, shawn wilson wrote:
>>> On Wed, Aug 7, 2013 at 6:43 AM, Johannes Sixt wrote:
Am 8/7/2013 8:24, schrieb shawn wilson:> ... create a repo for one of
> these scri
Am 8/8/2013 23:11, schrieb Phil Hord:
> On Wed, Aug 7, 2013 at 5:07 PM, shawn wilson wrote:
>> On Wed, Aug 7, 2013 at 6:43 AM, Johannes Sixt wrote:
>>> Am 8/7/2013 8:24, schrieb shawn wilson:> ... create a repo for one of
these scripts and I'd like to keep the commit history.
Ok, s
On Wed, Aug 7, 2013 at 5:07 PM, shawn wilson wrote:
> On Wed, Aug 7, 2013 at 6:43 AM, Johannes Sixt wrote:
>> Am 8/7/2013 8:24, schrieb shawn wilson:> ... create a repo for one of
>>> these scripts and I'd like to keep the commit history.
>>>
>>> Ok, so:
>>> % find -type f ! -iname "webban.pl" |
On Wed, Aug 7, 2013 at 6:43 AM, Johannes Sixt wrote:
> Am 8/7/2013 8:24, schrieb shawn wilson:> ... create a repo for one of
>> these scripts and I'd like to keep the commit history.
>>
>> Ok, so:
>> % find -type f ! -iname "webban.pl" | while read f; do git
>> filter-branch -f --index-filter "git
Am 8/7/2013 8:24, schrieb shawn wilson:> ... create a repo for one of
> these scripts and I'd like to keep the commit history.
>
> Ok, so:
> % find -type f ! -iname "webban.pl" | while read f; do git
> filter-branch -f --index-filter "git rm --cached --ignore-unmatch $f"
> HEAD ; done
>
> Which bas
I started writing this script in a repo I have called misc-scripts
where I just keep one off projects and the like (notes, throw away
scripts, etc). Well, my boss asked me to create a repo for one of
these scripts and I'd like to keep the commit history.
Ok, so:
% find -type f ! -iname "webban.pl"
11 matches
Mail list logo