Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion book/04-git-server/sections/git-on-a-server.asc
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ $ git clone [email protected]:/srv/git/my_project.git

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.

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)))
Git will automatically add group write permissions to a repository properly if you run the `git init` command with the `--shared` option.
Note that by running this command, you will not destroy any commits, refs, etc. in the process.(((git commands, init, bare)))

[source,console]
----
Expand Down