[x] I grant such license of my work as is required for the purposes of future print editions to Ben Straub and Scott Chacon.
Changes
The book clearly mentions that --add needs to be passed to 'git update-index'
only when the file is new to the index. When the second version of 'test.txt' is
added, the index know about the file already.
So, avoid passing the '--add' when adding the second version of 'test.txt'
Changes
The book clearly mentions that --add needs to be passed to 'git update-index' only when the file is new to the index. When the second version of 'test.txt' is added, the index know about the file already.
So, avoid passing the '--add' when adding the second version of 'test.txt'