Skip to content

Commit f11aed3

Browse files
authored
Update git-backup.rst (opnsense#734)
Bare does not mean empty. From https://git-scm.com/book/en/v2/Git-on-the-Server-Getting-Git-on-a-Server "a new bare repository — a repository that doesn’t contain a working directory". Additionally corrected a typo: should be send -> should be sent
1 parent b9900ff commit f11aed3

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

source/manual/git-backup.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,9 @@ button in the user interface) is responsible for initialising the empty local re
6161

6262
.. Note::
6363

64-
One can always change the upstream target, as long as the newly configured one is either "bare" (empty) or containing the
65-
exact same content (/change history) as the one used on this firewall.
64+
One can always change the upstream target, as long as the newly configured one is either empty (has absolutely no history
65+
- otherwise said, be a new one, absolutely untouched), or has the exact same history (otherwise said, be an exact copy, git
66+
history included) as the one used on this firewall.
6667

6768
--------------------------
6869
Initial setup
@@ -84,8 +85,8 @@ User Name Username, when using gitlab and ssh, the d
8485
password When using https authentication, choose a password here.
8586
==================================== ===============================================================================
8687

87-
Make sure to push to a "bare" upstream repository, when pressing "Setup/Test Git" the initial commits should be send to
88-
your git server.
88+
Make sure to push to an empty (as in, new and never used) upstream repository, when pressing "Setup/Test Git" the initial
89+
commits should be sent to your git server.
8990

9091
--------------------------
9192
SSH Setup

0 commit comments

Comments
 (0)