Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| git_log [2019/03/07 10:17] – [Reachability] rpjday | git_log [2019/03/13 14:52] (current) – [diff-filter] rpjday | ||
|---|---|---|---|
| Line 41: | Line 41: | ||
| </ | </ | ||
| - | there is a special notation for the most common exclusion (remember this one for rebasing): | + | there is a special notation for the most common exclusion (//remember this one for rebasing//): |
| < | < | ||
| $ git log next ^master | $ git log next ^master | ||
| $ git log master..next | $ git log master..next | ||
| + | $ git log next..topic | ||
| </ | </ | ||
| ===== Why is "git log" so slow? ===== | ===== Why is "git log" so slow? ===== | ||
| + | |||
| + | If you want to see the log of all changes to a single file: | ||
| + | |||
| + | < | ||
| + | $ git log --oneline -- scripts/ | ||
| + | </ | ||
| + | |||
| + | it will take a while as Git does //not// store per-file changes with the file. | ||
| + | |||
| + | ===== diff-filter ===== | ||
| + | |||
| + | Show only commits that deleted files: | ||
| + | |||
| + | < | ||
| + | $ git log --diff-filter=D --summary | ||
| + | </ | ||