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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T23:23:44+00:00 2026-06-13T23:23:44+00:00

Lets say that I push a branch B to the server with commits C1

  • 0

Lets say that I push a branch B to the server with commits C1 and C2 and continue working on commits C3. Then other programmer push to B two commits, C4 and C5 and I get notified. My question is, what is the recommend actions or commands, to integrated easily those two new commits in my work in progress C3 commit? I mean, I have my working directory full of unfinished and “uncommitable” work, but want base my future work on commit C3 in what others programmers push to remote B, in this case commit C4 and C5. BTW, I’m using Git 😉

  • 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-13T23:23:45+00:00Added an answer on June 13, 2026 at 11:23 pm

    The first question to ask is whether you really need the commits C4 and C5 to continue your work on C3. If you don’t require them immediately, then don’t worry about it, continue your work, and merge them later.

    If you require C4 and C5 and you have work you don’t want to commit yet for C3, then you can do:

    • git stash your work in progress
    • git fetch B to fetch local copies of branches from B
    • git merge B/C5 to get commits C4 and C5 (resolving any conflicts if necessary)
    • git stash pop to restore your work in progress (again resolving any conflicts)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Lets say I have a feature branch named branches/BigFeature. I want to push those
Lets say I have an object that I dynamically allocated. If I push it
Lets say that i have 2 pages: index.php and service.php index.php sends an http-post
Lets say that you have a following simple application: <form action=helloServlet method=post> Give name:<input
lets say that my table looks like: username userid a1 1 a1 1 a1
Lets say that i have a duration of time e.g., 10 minutes . I
Lets say that input from the user is a decimal number, ex. 5. 2155
Lets say that I am writing a program that supports plugins and I write
Lets say that you have a business object whose current state implies that there
Lets say that I have an executable and when it is started I want

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.