[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Git for backup storage



Max Nikulin (12023-10-06):
> I have no idea if it is possible to do it in place, but "git clone" and "git
> fetch" have the --depth option. So you can specify how many last commits you
> would like to have in the cloned repository. Using "git rebase

I know. They only allow to keep the last commits, not decimate them.

> --interactive" it is possible to squash e.g. daily commits into weekly or
> monthly ones. The drawback is that git rebase changes commit hashes.

git rebase is too inefficient for that kind of use.

Regards,

-- 
  Nicolas George


Reply to: