Search code examples
gitgit-show

How to get rid of the ... at the output of the show command in Git


git show  --stat --pretty=format: 50c2ebc0e

Outputs:

 .git.ignore                                 |    2 +-
 .../WebServiceRequests/WebService.cs        |   78 ++++++++++----------
 .../UI/Bin/AjaxControlToolkit.omi           |    1 +

Is there a way to get the full path instead of those pesky 3 dots (...)?

Thanks


Solution

  • Something like --stat=180,150. The numbers are: max width to take for the stat output, max width to use for the filenames.