Chapter 7. Personalizing Git

This chapter covers

  • Setting the configuration for a single repository, all of a user’s repositories, or all of a system’s repositories
  • Enabling useful configuration settings
  • Aliasing, shortening, and chaining Git commands
  • Using Git share configuration files between machines
  • Showing the current branch in a terminal prompt

In this chapter, you’ll learn about Git shortcuts. Git is a heavily configurable tool. As you’ve seen previously in this book, there are often times where you have multiple behaviors or choices for commands that you can select with flags or by using different commands. You may always want to run a command with a lengthy set of commands, or want to set your preferred difftool or mergetool ...

Get Git in Practice now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.