I suppose this is a really stupid question and I'm sorry for this, but I don't know how to fix it and what I'm supposed to do.
I have never used a source control system, so I started reading Git's documentation. But I came this problem: when I execute $ git log
it gives me ":
" and it waits for me to do something but I don't know what and how to return back and be able to write a new command. It also says "No next tag (press RETURN) but I don't know how to press it :( Please help, because now the only way to continue is to close the bash after every $git log... And sorry once again for the stupid question.
The git log command shows a list of all the commits made to a repository. You can see the hash of each Git commit , the message associated with each commit, and more metadata. This command is useful for displaying the history of a repository.
Mac: Type ls and hit Return. Windows using Git Bash: Type ls and hit Enter. Windows using Command Prompt: Type dir and hit Enter.
You can press q to exit. git hist is using a pager tool so you can scroll up and down the results before returning to the console.
Git is a distributed version-control system for tracking changes in any set of files, originally designed for coordinating work among programmers cooperating on source code during software development.
Press q. You have entered a pager output (less
or more
) but with an empty text.
Note: if you want to avoid the pager option, you can do a:
git --no-pager log
From the git man page:
--no-pager
Do not pipe git output into a pager.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With