A. Git looks up a file to modify a record at a time
1. First switch to the directory where you want to view the files: For example: I want to see a default_workspace.xml of this file, which is located in ~/android/android4.2/dev/trunk/android/ android4.2/kernel/drivers/video/rockchip/vga$ in this directory.
CD ~/android/backup/jw42temp/dev/trunk/android/android4.2/device/rockchip/rk30sdk/overlay/packages/apps/ launcher2/res/xml-sw720dp$
2. The git log--pretty=oneline file name shows all the prompt records for this file, and--pretty=oneline indicates that the commit information is displayed in one line.
3. Git show hash value. If I want to see the prompt for "launcher Modify: 1. Screen pages changed to 3 screen 2. The default second screen is home 3. Add the changes to the desktop common icons 4.Hotseat modify.
Git show Dae876432cfbc27765df3bbf947769bb2a79d9ba
git How to use the Miscellaneous notes