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

  • Home
  • SEARCH
  • 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 6354749
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T22:37:47+00:00 2026-05-24T22:37:47+00:00

Using the git flow model, I’ve got a feature branch that was split from

  • 0

Using the git flow model, I’ve got a feature branch that was split from the develop branch at some point in the past. While I’m working on my feature branch, other developers commit to the develop branch. As a result, I’ll occasionally perform a rebase to pull these changes into my feature branch.

My question is, how can I get a diff of changes that have been made to the develop branch since the last time I rebased? I.e., “Is my feature branch up to date with the develop branch, and if not, what am I missing?” or perhaps, “If I do a rebase now, what will I get?”

Here’s what I’ve got so far:

Find the commit where we branched:

git merge-base feature/my_feature develop

Find the diff between that commit and develop’s HEAD:

git diff <id from above> develop

I can easily merge these into a single command:

git diff $(git merge-base feature/mybuys develop) develop

But that seems rather roundabout. Is there a better way to do this in one shot?

  • 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-24T22:37:47+00:00Added an answer on May 24, 2026 at 10:37 pm

    This is what the triple dots are for:

    git diff feature/mybuys...develop
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been using git-svn for the past three weeks. Currently my work flow is
I'm using git filter-branch --subdirectory-filter dir/name -- --all to build a repo that only
We're using git flow. Here is the flow. git flow feature start myfeat git
I've been using git for some time now on Windows (with msysGit) and I
I am using git on a project, that generates lots of data-files (simulation-results). I
I recently started using Git as my version control system for some Cocoa projects
Using git, I can create branches conceptually , without having to branch my directory
I am trying to implement a 'git-flow' kind of workflow using Gerrit but I
I'm using heroku to develop a Django app and they use git to push
When using git, is there a way to show commits made to a branch,

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.