When there are too many logs in git log, how can I output them all directly without an interactive interface appearing?
I want to use it in a shell script
拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...
Just disable pager paging
git --no-pager log
Export to filegit log >log.txt
git log >log.txt
You can use the git reflog command. Each submission has only one line of records
Just disable pager paging
Export to file
git log >log.txt
You can use the git reflog command. Each submission has only one line of records