Commit 5e0c4b85 authored by Mike Swanson's avatar Mike Swanson Committed by Eric S. Raymond

add some extra formatting to keep list paragraphs part of the list

AsciiDoc detects a blank line followed by a new plain-language
paragraph as ending the list; this caused the list in "Recovering from
errors" to become subtly broken.  The number got reset twice and the
paragraph alignment was somewhat funky-looking.
parent c23b29e9
......@@ -522,33 +522,33 @@ How you do this will vary depending on your hosting site.
4. On gitlab.com, under Settings, there is a "Protected Branches"
item you can use. If you unprotect a branch, you can force-push to it.
+
Elsewhere, you may be able to re-initialize the public repo (this
works, for example, on SourceForge). You'll need ssh access to the
bare repo directory on the host - let's suppose it's 'myproject'. Pop
up to the enclosing directory and do this:
+
........................................................................
mv myproject myproject-hidden
rm -fr myproject-hidden/*
git init --bare myproject-hidden
mv myproject-hidden myproject
........................................................................
+
The point of doing it this way is (a) so you never actually remove
myproject (on many hosts you will not have create permissions in the
enclosing directory), and (b) so no user can update the repo while
you're clearing it (mv is atomic).
+
After re-initializing, you should be able to run `git
push` to push the new history up to the public repo.
5. From your modified local repo, try
+
........................................................................
git push --mirror --force
........................................................................
+
to push the new history up to the public repo.
6. Inform the public repo's users that it is available and remind
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment