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
2 changes: 1 addition & 1 deletion book/04-git-server/sections/setting-up-server.asc
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ To do so, you must first add the full pathname of the `git-shell` command to `/e
----
$ cat /etc/shells # see if `git-shell` is already in there. If not...
$ which git-shell # make sure git-shell is installed on your system.
$ sudo vim /etc/shells # and add the path to git-shell from last command
$ sudo -e /etc/shells # and add the path to git-shell from last command
----

Now you can edit the shell for a user using `chsh <username> -s <shell>`:
Expand Down