FIND YOUR NEXT FEW LINES
Results for “history”
Small, practical examples. Search by task or narrow things down below.
19 snippets foundClear filters
Read commit subjects affecting one file
Git: Place the path after -- so Git limits history to the selected file.
Git✓ Tested
Read commit subjects from oldest to newest
Git: Reverse the normal newest-first history order.
Git✓ Tested
Read recent commit messages
View a compact history in newest-first order.
log✓ Tested
Undo a commit with a new commit
Reverse a change while preserving shared history.
revert✓ Tested
Commit a staged change
Save a focused revision with a descriptive message.
commit✓ Tested
Read a file from a commit
Inspect committed content without changing your working copy.
show✓ Tested
Return to the previously checked-out branch
Git: The dash shorthand selects the previous branch in the checkout history.
Git✓ Tested