Re: [PATCH 2/4] Documentation/git-bundle.txt: mention full backup example
- From
- Kristoffer Haugsbakk <kristofferhaugsbakk@fastmail.com>
- Date
- Oct 22, 2024, 21:18 UTC
- Message-ID
- <aae8b889-3611-4146-91f3-72d6f1768b3d@app.fastmail.com>
- In-Reply-To
- <ZxbIWEGS1UB3UIg+@nand.local>
On Mon, Oct 21, 2024, at 23:32, Taylor Blau wrote:
Show 22 quoted lines
> On Sun, Oct 20, 2024 at 09:15:00PM +0200, > kristofferhaugsbakk@fastmail.com wrote: >> From: Kristoffer Haugsbakk <code@khaugsbakk.name> >> >> Tell the user how to make a full backup of the repository right at the >> start of the doc. >> >> This is a requested use-case.[1] But the doc is a bit unassuming >> about it: >> >> “ If you want to match `git clone --mirror`, which would include your >> refs such as `refs/remotes/*`, use `--all`. >> >> The user cannot be expected to formulate “I want a full backup” as “I >> want to match `git clone --mirror`” for a bundle file or something. >> >> 🔗 1: https://stackoverflow.com/a/5578292/1725151 > > We do not typically use emoji characters in commit messages on the Git > project. The convention here would be to write this as > > [1]: https://stackoverflow.com/a/5578292/1725151
Ok. Will fix.
Show 9 quoted lines
>> +You can use `git bundle create <file> --all` to create a full backup of >> +your repository. >> + > > Looks good, and could likely be combined with the previous paragraph > instead of breaking and starting a new one. > > Now that you mention it here, does it make sense to drop the more subtle > mention that you refer to in the patch message?
Both sound good. I’ll see what it looks like when I sit down with it again.
Thanks
-- Kristoffer Haugsbakk kristofferhaugsbakk@fastmail.com