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.

25 lines
962 B

  1. ┏━┓┏━╸╻ ╻╻┏━┓╻┏━┓┏┓╻ ┏━┓┏━╸╻ ┏━╸┏━╸╺┳╸╻┏━┓┏┓╻
  2. ┣┳┛┣╸ ┃┏┛┃┗━┓┃┃ ┃┃┗┫ ┗━┓┣╸ ┃ ┣╸ ┃ ┃ ┃┃ ┃┃┗┫
  3. ╹┗╸┗━╸┗┛ ╹┗━┛╹┗━┛╹ ╹ ┗━┛┗━╸┗━╸┗━╸┗━╸ ╹ ╹┗━┛╹ ╹
  4. ┌────────────────┐
  5. │commit (b3aacfe)│
  6. └────────────────┘
  7. - $ git show <commit-ish> -- <glob-pattern>
  8. - commits are referencable via
  9. - their SHA1
  10. - HEAD
  11. - tags/branchnames
  12. - Syntax:
  13. - HEAD~<n> // select the n-th ancestor of HEAD
  14. - <commit-ish>..<commit-ish>
  15. - HEAD-history:
  16. - HEAD@{<n>}