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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.