Incremental backups with git bundle, for all branches

后端 未结 4 1151
春和景丽
春和景丽 2020-12-05 05:20

What is the easiest way to do incremental backups of a git repository with git bundle?

If I just wanted to backup a single branch, I could do something

4条回答
  •  庸人自扰
    2020-12-05 05:54

    Seems opqdonut solution will not work, cause ^backup/A ^backup/B only points to last incremental backup. And actually need to exclude refs from all previous incremental backups.

    Need to create remotes for each of previous bundles.

    UPD: No, it should work, see Jukka comment below.

提交回复
热议问题