mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-09-02 13:52:46 +02:00
Update git log content (#6625)
* Improve `git-log-options` * Update src/data/roadmaps/git-github/content/git-log-options@qFEonbCMLri8iA0yONwuf.md --------- Co-authored-by: Kamran Ahmed <kamranahmed.se@gmail.com>
This commit is contained in:
@@ -4,12 +4,13 @@
|
||||
|
||||
Here are some common git log options:
|
||||
|
||||
- -2: Only show the last two commits.
|
||||
- --all: Show all branches in the repository.
|
||||
- --graph: Display the commit history as a graph.
|
||||
- --no-color: Disable colorized output.
|
||||
- --stat: Show a statistical summary of changes.
|
||||
- **-S`: Only show commits with modified files.
|
||||
- `-2`: Only show the last two commits.
|
||||
- `--all`: Show all branches in the repository.
|
||||
- `--graph`: Display the commit history as a graph.
|
||||
- `--pretty`: Enable clean colorized output.
|
||||
- `--no-color`: Disable colorized output.
|
||||
- `--stat`: Show a statistical summary of changes.
|
||||
- `**-S`: Only show commits with modified files.
|
||||
|
||||
You can combine these options to tailor your log output to suit your needs.
|
||||
|
||||
|
Reference in New Issue
Block a user