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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T20:05:42+00:00 2026-05-31T20:05:42+00:00

I am in the process of changing my git-merge-workflow and encountered following problem: Up

  • 0

I am in the process of changing my git-merge-workflow and encountered following problem:

Up to now, i have been merging (–no-ff) my changes on the develop branch back to master whenever i released a new version. This generated a new merge-commit containing the history (–log) of all the develop-commits.
I realized that this is sub-optimal, and want to actually do fast-forward merges from my develop branch to master (having changed my commit-messages on develop to reflect my changes in a “cleaner” way).

My current problem: The most recent commit on master is a still a merge-commit from the last time, due to that I can’t do an ff-merge from develop to master now, since the 2 branches “diverged” (the merge-commit is missing on develop).

My idea to solve this would have been, being on develop: git rebase master, which would pull in this merge-commit, and then enable me to do a git merge develop on master.
But would this generate a new commit on develop (this particular merge-commit) or will git be smart enough to recognize that the changes of this merge-commit are already part of develop?

  • 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-31T20:05:43+00:00Added an answer on May 31, 2026 at 8:05 pm

    git rebase master while on develop will work fine for your purposes.

    If your branches are currently like this:

    A-B-C-D-E <-- master
           /
      F-G-H-I-J <-- develop
    

    then they’ll wind up like this (because I-J is the only bit not reachable from E):

    A-B-C-D-E <-- master
             \
              I'-J' <-- develop
    

    which will then fast-forward merge back into master like this:

    A-B-C-D-E-I'-J' <-- master
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In the process of changing some code, I have spilt some functions into multiple
The crawler needs to have an extendable architecture to allow changing the internal process,
I'm in the process up changing a single SQL DB website (ASP.NET/VB.NET) into a
I'm just in the process of changing the SalesInvoice Report. One thing I'm trying
On a linux box that there is some process regularly changing permissions on directories
When changing the priority of a process, there is a warning about system instability.
We are changing our remote log-in security process at my workplace, and we are
Basically I want to spawn a process changing its working directory. My idea was
I have a semi-complicated problem and hoping that someone here will be able to
Currently our process consists of logging into each *nix server and manually changing the

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.