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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T06:56:07+00:00 2026-06-07T06:56:07+00:00

I noticed that if i do a git rebase -i HEAD~10 and then don’t

  • 0

I noticed that if i do a

git rebase -i HEAD~10

and then don’t change anything in the resulting file, some sort of rebase still gets performed. I.e. I need to

git push origin branch --force

since a regular push

git push origin branch

would apparently lose history!

This seems to imply that some history was changed but i don’t understand why. If i didn’t choose to change any commit (i.e. every commit was picked) then why did the history change and what specifically changed?

  • 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-07T06:56:10+00:00Added an answer on June 7, 2026 at 6:56 am

    If you do a git log --format=fuller you’ll see that a commit not only tracks the author, but the committer:

    commit 0d987988ffed315ef63f79b33eae40a8715390c9
    Author:     Statichippo <example@example.com>
    AuthorDate: Fri Jun 22 14:09:48 2012 -0400
    Commit:     Statichippo  <example@example.com>
    CommitDate: Fri Jun 22 14:09:48 2012 -0400
    
        a commit message
    

    When you rebase, your user is listed as the new committer. Here’s an example of what it would look like if I rebased that code block:

    commit 3e23bea3c778c66h59c5f665061e9354507b379b
    Author:     Statichippo <example@example.com>
    AuthorDate: Fri Jun 22 14:09:48 2012 -0400
    Commit:     Jacob Angel <jangel@example.com>
    CommitDate: Tue Jul 3 12:39:43 2012 -0400
    
        a commit message
    

    So what’s probably happening is that you’re rebasing commits that were made by another person, and it’s changing the commit and CommitDate. Obviously git will see a new hash (because part of the commit’s changed) and note the change.

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

Sidebar

Related Questions

I've noticed that some programs have their own tab-completion. For example, git: git checkout
We created a tag 2012/02/16 on our git repository. We then noticed that inside
I have noticed that deleted branches in svn is not preserved in git. I
I use git-svn and I noticed that when I have to fix a merge
I've noticed that git seems to use different vim settings any time I'm writing
We installed Seed Fu to add in seed data in rails, then noticed that
I noticed recently that the project files my text editors use (along with some
I am very happily using git-svn, though I noticed that git has a different
I've noticed that in Tower (Git client for the Mac) the user can discard
I noticed that when you commit or checkout files using Git in a Windows

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.