Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #262190

Re: Git for backup storage

From Max Nikulin <manikulin@gmail.com>
Newsgroups linux.debian.user
Subject Re: Git for backup storage
Date 2023-10-06 12:00 +0200
Message-ID <HlPMJ-dUDg-27@gated-at.bofh.it> (permalink)
References <HlPa1-dUpP-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 06/10/2023 16:14, Nicolas George wrote:
> Unfortunately, Git is very bad at removing old data

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

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Git for backup storage Nicolas George <george@nsup.org> - 2023-10-06 11:20 +0200
  Re: Git for backup storage Max Nikulin <manikulin@gmail.com> - 2023-10-06 12:00 +0200
    Re: Git for backup storage Nicolas George <george@nsup.org> - 2023-10-06 13:30 +0200
  Re: Git for backup storage john doe <johndoe65534@mail.com> - 2023-10-06 13:00 +0200
    Re: Git for backup storage Nicolas George <george@nsup.org> - 2023-10-06 13:30 +0200
      Re: Git for backup storage john doe <johndoe65534@mail.com> - 2023-10-06 13:50 +0200
        Re: Git for backup storage Nicolas George <george@nsup.org> - 2023-10-06 14:50 +0200
          Re: Git for backup storage Stefan Monnier <monnier@iro.umontreal.ca> - 2023-10-06 15:30 +0200
            Re: Git for backup storage Nicolas George <george@nsup.org> - 2023-10-06 15:40 +0200
              Re: Git for backup storage Stefan Monnier <monnier@iro.umontreal.ca> - 2023-10-06 17:10 +0200
  Re: Git for backup storage Mike Castle <dalgoda+debian@gmail.com> - 2023-10-06 22:50 +0200
    Re: Git for backup storage <tomas@tuxteam.de> - 2023-10-07 08:00 +0200
      Re: Git for backup storage gene heskett <gheskett@shentel.net> - 2023-10-07 13:30 +0200

csiph-web