Skip to content

Commit 4486dc8

Browse files
authored
Merge pull request #1160 from josh-byster/jb/reinitialization
Added clarification about repo re-initialization
2 parents a4531c8 + 0b6d574 commit 4486dc8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

book/04-git-server/sections/git-on-a-server.asc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ $ git clone [email protected]:/srv/git/my_project.git
5454

5555
If a user SSHs into a server and has write access to the `/srv/git/my_project.git` directory, they will also automatically have push access.
5656

57-
Git will automatically add group write permissions to a repository properly if you run the `git init` command with the `--shared` option.(((git commands, init, bare)))
57+
Git will automatically add group write permissions to a repository properly if you run the `git init` command with the `--shared` option.
58+
Note that by running this command, you will not destroy any commits, refs, etc. in the process.(((git commands, init, bare)))
5859

5960
[source,console]
6061
----

0 commit comments

Comments
 (0)