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 7990663
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T13:04:56+00:00 2026-06-04T13:04:56+00:00

How can I fetch the remote log without getting the changes/commits ? I only

  • 0

How can I fetch the remote log without getting the changes/commits ?

I only want to view the log, if there is any new changes since my last pull. Basically avoiding having to stash or commit my changes first.

The git help files have this example, which in inverted form should give the result I want:

git log master --not --remotes=*/master
Shows all commits that are in local master but not in any remote repository master branches
  • 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-04T13:04:57+00:00Added an answer on June 4, 2026 at 1:04 pm

    You have to fetch the changes, without merging them (i.e. don’t use pull):

    git fetch origin master
    

    After that you can use log (and other tools) to have a look at the remote’s branch:

    git log FETCH_HEAD --not master
    

    FETCH_HEAD is an alias to the latest fetched branch, in this case origin/master, just like HEAD is an alias to the latest commit of your currently checked out branch.

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

Sidebar

Related Questions

I set up a remote repository and I can push new changes to it,
I want fetch last record using hibernate criteria Can u help me?
I have a remote embedded system and it is telnet-able. How can I fetch
After git clone, the config in the new repo looks like: remote.origin.url=<some url> remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
I can fetch the menucode from database i can print inside for loop means
I can fetch the item names from a database and append them to an
Using a query like below you can fetch rows in which the color of
How can I access the array to fetch the email address? I tried something
I can't seem to find the resolution for this. I have modified the Fetch
I'll use have_posts function to fetch messages, how can I filter posts by author

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.