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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T11:33:07+00:00 2026-05-31T11:33:07+00:00

For example, I my master branch has stuff in it. Another branch called other_branch

  • 0

For example,

I my master branch has stuff in it. Another branch called other_branch has stuff+more_stuff in it. Each branch has nothing to commit.

If I checkout master then try to merge other_branch, git says “Already up-to-date.” and nothing happend. why won’t more_stuff be merged into master in this case? Is that how git was designed?

NOTE: other_branch was created from an older commit of master.

  • 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-31T11:33:08+00:00Added an answer on May 31, 2026 at 11:33 am

    It’s very simple. If git says “Already up-to-date” it means the branches have not diverged. Two branches have diverged if at least one of the branches contains a commit that the other branch doesn’t have.

    I’m not sure what you mean by has stuff + more_stuff in it. If you have added new files to other_branch (or changed existing files), and used “git add” and “git commit” other_branch history will have diverged from the master branch. Since git says that there are no changes to merge, the history hasn’t changed on that branch, i.e. you haven’t committed anything.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here's an example: >git status # On branch master nothing to commit (working directory
For example, in the following master branch, I need to trash just the commit
When I checkout, I get: me@localhost# git checkout master D deps/example M deps/example2 Switched
I am working on a git repository with a master branch and another the
I have made several commits in the master branch and then merged them to
I want to pull a specific commit from another person's branch into my own
I ask myself how use multiple images in one. For example youtube -> http://s.ytimg.com/yt/img/master-vfl102488.png
When I want to merge one branch to another I use to do the
I'm having problems getting hudson to checkout my git repo and merge into master.
Currently my terminal prompt includes git information. Example clean directory: michaelespinosa:~/Sites/example.com [git:master] Example dirty

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.