-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
minor edits for useful commands (#32)
- Loading branch information
Showing
9 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
### <strong style="color:black">git log</strong> | ||
|
||
<!-- pages-include --> | ||
|
||
`git log` is an extremely powerful tool to explore the history of a repository with some particularly useful option: | ||
|
||
- `--oneline` shows a condensed view with each commit on a single line. | ||
- `--graph` visualizes the commit history as a branching graph. | ||
- `--author="Author Name"` shows commits made by a specific author. | ||
- `--since="2 weeks ago"` displays commits made since a specific date, useful for reviewing recent changes. | ||
- `-p` displays the patch (diff) introduced in each commit, allowing you to see what changes were made. | ||
- `--grep="keyword"` filters commits to show only those with messages containing a specific keyword. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters