To answer my own questions:

why is the log so long?

The colon at the bottom indicates the pager (Git uses the Bash "less" 
function to page). To navigate, press down arrow until the colon turns into 
the word "END".

Press "q" to quit the pager and return to the prompt.

On Friday, June 11, 2021 at 9:26:02 AM UTC-4 Thomas Archibold wrote:

> Hi,
>
> I have been setting up my Chromebook for web development and have 
> installed Visual Studio Code with the integrated terminal. 
>
> I log into my remote server in the VSCode terminal, navigate to a 
> directory that I want to create a Git repository for, run Git init to 
> create the repository - all is good.
>
> I add two files to the repository using Git add, then Git commit to save 
> their initial state.
>
> I make a change to one of the files as a test of Git. I save the file, 
> then run Git add, then Git commit
>
> This is where I then have trouble: I want to view the log to see the 
> change I made (why is the log so long? - and why does the the prompt never 
> reappear?) Here is the terminal window:
>
> [prompt]$ git log
> commit 3eec317d12d9b92a3dd23e112499e2d11dd9f69e (HEAD -> master)
> Author: ArchieJr <mye...@gmo.com>
> Date:   Fri Jun 11 08:45:56 2021 -0400
> :...skipping...
> commit 3eec317d12d9b92a3dd23e112499e2d11dd9f69e (HEAD -> master)
> Author: ArchieJr <mye...@gmo.com>
> Date:   Fri Jun 11 08:45:56 2021 -0400
>
>     I added a test comment
> :...skipping...
> commit 3eec317d12d9b92a3dd23e112499e2d11dd9f69e (HEAD -> master)
> Author: ArchieJr <mye...@gmo.com>
> Date:   Fri Jun 11 08:45:56 2021 -0400
>
>     I added a test comment
>
> commit 946f8c725c608954d31728e1c25a4c4f44cab0d3
> :...skipping...
> commit 3eec317d12d9b92a3dd23e112499e2d11dd9f69e (HEAD -> master)
> Author: ArchieJr <mye...@gmo.com>
> Date:   Fri Jun 11 08:45:56 2021 -0400
>
>     I added a test comment
>
> commit 946f8c725c608954d31728e1c25a4c4f44cab0d3
> Author: ArchieJr <mye...@gmo.com>
> :...skipping...
> commit 3eec317d12d9b92a3dd23e112499e2d11dd9f69e (HEAD -> master)
> Author: ArchieJr <mye...@gmo.com>
> Date:   Fri Jun 11 08:45:56 2021 -0400
>
>     I added a test comment
>
> commit 946f8c725c608954d31728e1c25a4c4f44cab0d3
> Author: ArchieJr <mye...@gmo.com>
> Author: ArchieJr <mye...@gmo.com>
> Date:   Fri Jun 11 08:43:20 2021 -0400
>
>     The initial state
>
> commit b6098205af8e6abc896a9b4ef6fcc1e443336387
> Author: ArchieJr <mye...@gmo.com>
> Date:   Fri Jun 11 08:34:49 2021 -0400
>
>     A first commit
> (END)
>

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/git-users/70731359-d949-4f56-ac64-51450eaf1ffbn%40googlegroups.com.

Reply via email to