Introduction
In this chapter, you will find some tips and tricks that can be useful in everyday Git work; from stashing away your changes when you get interrupted while doing an important task, to efficient bug hunting with bisect
and blame
, to finding color and status information in your prompt. We'll also look at aliases, how you can create clean commits by selecting which lines should be included in the commit and, finally, how you can ignore files.
Â