I created a Git alias based off of the Git Immersion tutorial by EdgeCase that looks like this:
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
But now it seems to be paging the results — Terminal shows (END)
after the results are displayed, forcing me to hit Q to continue working. I read that by adding in the --no-pager
tag, you can disable this feature; how do I incorporate it into the alias? I've tried it at the end, before the log
, and right after, and none of them have worked. Git throws an error saying it is an unrecognized argument, or that it changes environment variables. Any advice?
You can do that easily by just turning it into a shell command: