Information Technology Reference
In-Depth Information
CHAPTER 13
More Recipes
In this closing chapter, I discuss some details that have not been covered and sooner or
later can become indispensable to you. You will learn:
• How to use the command $ git diff to compare different versions of
files.
• How to overcome the problems concerning line endings.
• Three different methods to configure ignored files
• Using tags
• The command $ git archive to generate zipped package containing
your project
13-1. Working with the $ git diff com-
mand
Problem
You want to learn how to use the $ git diff command to analyze the difference
between two versions of the same file.
Solution
Search WWH ::




Custom Search