You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
611 B

  1. ┏━╸╻╺┳╸ ╻ ┏━┓┏━╸
  2. ┃╺┓┃ ┃ ┃ ┃ ┃┃╺┓
  3. ┗━┛╹ ╹ ┗━╸┗━┛┗━┛
  4. - $ git log
  5. - --patch, --after, --since, --before, --committer
  6. - -S"<search-pattern>" // code
  7. - -L <start>,<end>:<filename> // history of lines of code
  8. - -L :<function-name>:<filename> // history of a function
  9. - --grep "<search-pattern>" // commit messages
  10. - $ git log --oneline
  11. - $ git log --graph