9

Git Bash: Increase Terminal Scrollback Buffer Size

 1 year ago
source link: https://www.shellhacks.com/git-bash-increase-terminal-scrollback-buffer-size/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Git Bash: Increase Terminal Scrollback Buffer Size

If you run a command that produces a lot of output in a Git Bash and you try to scroll up to the beginning of that output, you may see that it has been truncated.

The number of lines that can be displayed in the Git Bash is controlled by a scrollback buffer size (10000 lines, by default).

This short note shows how to increase the terminal scrollback buffer size in the Git Bash.

Cool Tip: How to clear a commands history in Git Bash! Read More →

Scrollback Buffer in Git Bash

To increase the scrollback buffer size, open the Git Bash terminal, right-click on it to open a context menu and click on the “Options“:

git-bash-context-menu-options.png

Select the “Window” and change the “Scrollback lines“:

git-bash-options-window-scrollback-lines.png

The “Scrollback lines” controls the scrollback buffer size i.e. the number of lines to display in the Git Bash terminal.

Cool Tip: How to clear a commands history in Git Bash! Read More →


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK