aboutsummaryrefslogtreecommitdiff
path: root/git
blob: fdc9baac6da24b96d1f29973334757e7b31037cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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