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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T00:58:34+00:00 2026-05-25T00:58:34+00:00

All the examples I’ve seen deal with branches where there is only one committer.

  • 0

All the examples I’ve seen deal with branches where there is only one committer. What I am trying to achieve is an automatic git rebase -i where, for a given branch.. all commit made by a given user will be squashed together.

hence, if 3 people work on a branch.. when the branch is merged with master, we would see only 3 commits in the history.. one per user. Kind of a rebase + squash together with a twist of user.

Hope I made myself clear.. ;-/

Any pointers would help,

Sincerely,

  • 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-05-25T00:58:35+00:00Added an answer on May 25, 2026 at 12:58 am

    I’m going to try to convince you that you simply do not do this for four reasons:

    1. You are throwing away history.
    2. History on the server will diverge from all of the committers’ history, because you are doing the rebase post-push. All committers will have to deal with the hassle of non-fastforward merges of the shared master each time you do this.
    3. You are almost-surely creating non-atomic commits by combining multiple commits into one, a corollary of “don’t throw out history.” The point of atomic commits is to make history comprehensible, to easily identify the cause of regressions, and even to make code reuse possible through cherry-picks (and probably other good reasons I can’t think of off the top of my head).
    4. You can alter changes and end up with a final product that is not the sum of each user’s commits, as I mentioned in my comment. Consider cases of committers A and B that modify the same files (especially the same content in the same files) when their contributions are interleaved like A, B, A A and you squash to AAA, B or B, AAA (where AAA is the squash result). This will bite you hard.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to understand the equals() method better. All examples I've seen do something
Is there any way to compute length of va_list ? All examples I saw
All the examples I have seen where the PropertyPlaceHolderConfigurer is used seem to be
All the examples I've seen of sock.listen(5) in the python documentation suggest I should
All the examples I've seen regarding a RESTful architecture have dealt with a single
I'm trying to hock up WCF with dependency injection. All the examples that I
In all examples online that I have seen, when rendering meta-balls (level sets of
I'm trying to map my Hashmap in Hibernate. All examples I can find are
All examples in Qt show that one should use delegate classes to provide editors
Is it possible to virtualize both horizontally and vertically? All examples show one or

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.