Created
March 3, 2021 07:59
-
-
Save IamFaizanKhalid/67508fba4a8943b85f6617c2b3260058 to your computer and use it in GitHub Desktop.
If `git log` command output is cleared after pressing `q`, change its pager to use `less -F -X` command.
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
#!/usr/bin/env bash | |
git config --global --replace-all core.pager "less -F -X" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment