chevron_left
Cookbooks
Amending the most recent commit messageChecking git versionCreating a new repositoryDiscarding unstaged changesExiting git log or git diffGetting help on Git commandsGetting the current branch namePagination for output of git commandsRemoving local untracked filesReverting a file to a specific revisionUndoing staged changesUndoing staged changes before commitViewing commit history
check_circle
Mark as learned thumb_up
0
thumb_down
0
chat_bubble_outline
0
auto_stories new
settings
Exiting git log or git diff
Software Development
chevron_rightGit
chevron_rightCookbooks
schedule Jul 1, 2022
Last updated local_offer
Tags tocTable of Contents
expand_more Check out the interactive map of data science
After using git log
or git diff
you may be presented with scrollable output.
In order to exit the scrollable output type q or type h to get help.
Going forwards, if you just want the output of git log
or git diff
to be printed to the terminal screen rather than as scrollable output, execute git config --global core.pager cat
. This command sets the core.pager
config to cat
(Unix command to read files and write them to the standard output).
Published by Arthur Yanagisawa
Edited by 0 others
Did you find this page useful?
thumb_up
thumb_down
Ask a question or leave a feedback...
thumb_up
0
thumb_down
0
chat_bubble_outline
0
settings
Enjoy our search
Hit / to insta-search docs and recipes!