Git - Get Logs and dump to file

  • Language:: Git Command Line
  • Type:: Git
  • Context:: Gets a log of the current repo and dumps it into a log file
  • Description
  • Snippet
  • Get Logs:
$ git log --color --graph --pretty --name-status > logtest.txt
  • format logs (Use pattern to delete unwanted char in file):
\[[\d]+m|\[m|\[1;[\d]+m
  • Dependencies:: –

📇Additional Metadata