Git Administration
The previous chapter, Customizing and Extending Git, among other things, explained how to use Git hooks for automation. The client-side hooks were described in detail, while the server-side hooks were only covered briefly. In this chapter, we will cover server-side hooks comprehensively and discuss client-side hooks’ usage as helpers.
The earlier chapters helped master your work with Git as a developer, as a team member collaborating with others, and as a maintainer. When the book discussed setting up repositories and branch structure, it was from the point of view of a Git user.
This chapter is intended to help those of you who are in a situation of dealing with the administrative side of Git. This includes setting up remote Git repositories and configuring their access. This chapter covers the work required to make Git go smoothly (that is, Git maintenance) and finding and recovering from repository errors. It also describes how to use server-side...