In this tutorial, we will discuss how to come back in command from git log to see the commits history in github.
Recently, I was using git log command to see the commit history, in my command prompt in windows 10. But after executing the command, I did not see an option to command back from the git log command prompt.
If I will scroll down a little bit, I can see the END like this, but no option to come back.
How to come back in command from git log
I tried various commands, but it did not work out.
Finally, when I type q from the keyboard, I can come back from the command prompt.
git log: By using the git log command, you can see the previous commit’s information. git log displays the commit logs.
The output of the git log command is actually scrollable, that is the reason you can see the end of the command prompt.
Apart from this, you can also execute the command like below:
git log -n 3
Here this shows the last 10 commits information. And you can see the command prompt from git log like below:
You may like the following tutorials:
- Create a console application in visual studio code
- Visual Studio 2019 Download and Installation
- SharePoint Custom Workflow using Visual Studio
- What is Visual Studio Code
- What is a Visual Studio Code Workspace
- How to change background color in visual studio code
In this tutorial, we learned how to come back in command from git log? And how to see commits in github using git log command. Also, we saw how to see git history using git log command.
After working for more than 15 years in Microsoft technologies like SharePoint, Office 365, and Power Platform (Power Apps, Power Automate, and Power BI), I thought will share my SharePoint expertise knowledge with the world. Out audiences are from the United States, Canada, United Kingdom, Australia, New Zealand, etc. For my expertise knowledge and SharePoint tutorials, Microsoft has been awarded a SharePoint MVP(8 times), check out My MVP Profile. I have also worked in companies like HP, TCS, KPIT, etc.