Customizing and Extending Git
Earlier chapters were designed to help you understand how Git works and master Git as a version control system. The following two chapters will help you set up and configure Git, so that you can use it more effectively for yourself (this chapter) and help other developers use it (the next chapter).
This chapter will cover configuring and extending Git to fit one’s needs. First, it will show how to set up a Git command line to make it easier to use. For some tasks, though it is easier to use visual tools; the short introduction to graphical interfaces in this chapter should help you in choosing one. Next, there will be an explanation of how to change and configure Git behavior, from configuration files (with the selected configuration options described) to a per-file configuration with the .
gitattributes
file.
Then this chapter will cover how to automate Git with hooks, describing for example how to make Git check whether the commit being created...