diff options
author | Guangxiong Lin <[email protected]> | 2022-09-14 13:29:39 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2022-09-14 13:29:39 +0800 |
commit | 2cb5e8288f9135aef85d657710e6be1823376600 (patch) | |
tree | 9802cccbdd79e45b8471ced2bdc716d563d62420 | |
download | cheatsheet-2cb5e8288f9135aef85d657710e6be1823376600.tar.gz cheatsheet-2cb5e8288f9135aef85d657710e6be1823376600.tar.bz2 cheatsheet-2cb5e8288f9135aef85d657710e6be1823376600.zip |
First commit
-rw-r--r-- | git | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -0,0 +1,13 @@ +--- +syntax: bash +tags: [ vcs ] +--- + +# Show contents of a file +git show revision:path/to/file + +# Run commands in all existing commit +git filter-branch --tree-filter 'shell command' HEAD + +# Show branches and their commits +git show-branch |