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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T05:03:31+00:00 2026-05-23T05:03:31+00:00

I am trying to contribute to a project and I’d like to use git-flow

  • 0

I am trying to contribute to a project and I’d like to use git-flow workflow(?) on what I work.
Say, I have checkout’d the develop branch of the remote repository (github) and that I’ve setup 2 feature branches (T for Translation, U for Update):

---o---o---o (D)
           |---Ta---Tb (T)
           \---Ua---Ub---Uc (U)

Now, for each of the branches, a pull request is made to the upstream repository maintainer and he accepts them all and merges them to the upstream/develop branch.

What is the correct procedure so that I end up with:

---o---o---Ta---Tb---Ua---Ub---Uc (D)
                               |- (T)
                               \- (U)

Something tells me that git rebase is what I need. (Please note I am on Windows).

  • 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-23T05:03:32+00:00Added an answer on May 23, 2026 at 5:03 am

    You are right. You (or the repository maintainer) needs to rebase your changes onto your develop branch:

    git checkout develop
    git rebase T
    git rebase U
    

    During the rebase, you might need to resolve conflicts if they occur.

    Your last branch diagram shows T and U have Uc as their parent. The rebase won’t change the branches parent. You can do this by deleting your branches and recreating them after the rebasing above.

    git branch -D T
    git branch -D U
    

    You’ll need to use the capital -D switch to force the branch deletion because the T and U branch was never merged into the develop branch, so git doesn’t know that the branch changes are reflected in the develop branch.

    After that, you can recreate them:

    git checkout -b T
    
    git checkout develop
    git checkout -b U
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have functions that contribute to small parts of a figure generation. I'm trying
I would like to contribute to an open-source Windows Mobile project, but it's being
Trying to set RowHeight like this(in code): dgvTruckAvail.RowTemplate.Height = 48; Doesnt' work. I also
I'm trying to contribute to an open source project and I need a controller
I'm trying to contribute to open source software for the first time, but I'm
I'm trying to keep dependencies to a minimum for a program I contribute to,
Trying to get my css / C# functions to look like this: body {
Trying to keep all the presentation stuff in the xhtml on this project and
We're trying to get 2-legged OAuth to work with the Gmail atom feed. We're
I am trying to build my project and I am getting a weird error

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.