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

┏━┓┏━╸╻ ╻╻┏━┓╻┏━┓┏┓╻ ┏━┓┏━╸╻ ┏━╸┏━╸╺┳╸╻┏━┓┏┓╻
┣┳┛┣╸ ┃┏┛┃┗━┓┃┃ ┃┃┗┫ ┗━┓┣╸ ┃ ┣╸ ┃ ┃ ┃┃ ┃┃┗┫
╹┗╸┗━╸┗┛ ╹┗━┛╹┗━┛╹ ╹ ┗━┛┗━╸┗━╸┗━╸┗━╸ ╹ ╹┗━┛╹ ╹
┌────────────────┐
│commit (b3aacfe)│
└────────────────┘
- $ git show <commit-ish> -- <glob-pattern>
- commits are referencable via
- their SHA1
- HEAD
- tags/branchnames
- Syntax:
- HEAD~<n> // select the n-th ancestor of HEAD
- <commit-ish>..<commit-ish>
- HEAD-history:
- HEAD@{<n>}