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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T00:31:16+00:00 2026-06-11T00:31:16+00:00

Stash says the latest commit was committed 8 minutes ago. That was when I

  • 0

Screenshot from Atlassian Stash

Stash says the latest commit was committed 8 minutes ago. That was when I committed the change locally. I then pushed the changes to the Stash repository 7 minutes later (1 minute before the screenshot).

I’m somewhat surprised that it is the local commit date that’s being used. Is that really how it should be?

  • 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-11T00:31:18+00:00Added an answer on June 11, 2026 at 12:31 am

    In Git commits are immutable. Each commit consists of

    top-level tree for the snapshot of the project at that point; the author/committer information pulled from your user.name and user.email configuration settings, with the current timestamp; a blank line, and then the commit message.

    Push (emphasis mine)

    Updates remote refs using local refs, while sending objects necessary to complete the given refs.

    Since push sends your objects to the server, and your objects captures the time stamp of the commit; logically the only thing the server would be able to do is show you is the captured timestamp.

    There are two ways Stash would be able to show you the time of the push.

    1. Modify the commits and update the time stamp on them (this may not be the worst idea in the world, but it’s pretty close).
    2. Maintain its own set of times stamps of when a particular commit was pushed and display that information in addition to what was recorded into the commit. This is doable, but it’s extra work and the benefit isn’t immediately obvious.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I did a git stash on production but then others pushed more changes to
It appears that when I do git stash apply, I need to then type
I just did a stash in a project that I haven't commit. Is there
I frequently use git stash and git stash pop to save and restore changes
I recently did a git stash , then did some work on the branch
I have a stash saved for the future that I want to give a
I have a repo that has two files that supposedly I changed locally. So
If I create a commit with git stash create whatever I get a hash
I have created a new commit, but forgot to pull before that. (I should
Git stash seems to do a lot of what I want, except that it

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.