Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8773899
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T18:25:24+00:00 2026-06-13T18:25:24+00:00

I am originally an SVN user. In Git, git log shows only the log

  • 0

I am originally an SVN user.

In Git, git log shows only the log from the current commit.

How can I get the log from HEAD?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T18:25:29+00:00Added an answer on June 13, 2026 at 6:25 pm

    To get log from server-side HEAD, you need to fetch changes from the server first. Unlike pull, fetch is not going to affect your working tree. So, it’s safe.

    1. git fetch origin

      Here origin is your remote repo. This command fetches the latest data from the remote repo.

    2. git log origin\master

      Here origin\master implies master branch in the remote repo origin. This command shows log from origin\master.

    Other useful git log options:

    i) git log HEAD..origin\master

    Show the commits that are in the “origin/master” branch but not yet in the “HEAD”.

    ii) git log -p HEAD..origin\master

    Show the commits as a patch.

    iii) git log -5

    Shows the latest 5 commits.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to import only 1 branch from my svn repo as a git
I wrote the following pre-commit script for SVN to validate that a user has
I'm going to check out a repository from a source that I can't commit
I have a git repository that was originally created using git-svn. Now I have
Coming originally from SVN, I am still new to Mercurial. I am interested in
I have a Git repository (originally CVS, then SVN, now Git) containing a Rails
Originally I had two tables in my DB, [Property] and [Employee]. Each employee can
I have forked an SVN project using Git because I needed to add features
After converting my repository to Git using git-svn, I'm seeing both the original master
I m trying out git-svn and I am getting the following error. What I've

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.