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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T17:25:27+00:00 2026-06-09T17:25:27+00:00

I am having my first experience merging someone else’s changes with Git (as opposed

  • 0

I am having my first experience merging someone else’s changes with Git (as opposed to just cloning/pushing by myself in a trivial way.) I used git pull and the basic process of conflict resolution was simple enough, that bit seemed to work fine.

I’m a little confused at what I’m seeing, though. I’m sure this is a very simple question. But why is it that after I pull and merge someone’s changes from the master, it’s showing those files as being “staged” in my branch…even when I didn’t touch the files at all?

For instance: the other person added a brand new PNG to the project. That PNG shows up as being “Added” when I do git status. I didn’t do git add, the merge put it there automatically. Is everything actually working properly and this isn’t going to wind up looking like it’s coming from my commit? Will there be some sort of diff magic coming in when I commit and push?

  • 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-09T17:25:28+00:00Added an answer on June 9, 2026 at 5:25 pm

    Remember, a pull is just a fetch + a merge.

    You need to commit a merge. This results in something called a merge commit. The merge commit will have as parents both your latest revision and the revision that you just pulled. The files are shown as staged since they are going to be included into the merge commit.

    Try running git commit and then looking at the resulting history with e.g. gitk.

    You can read more about merges for example in the Git Book.

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

Sidebar

Related Questions

I'm on my first experience with Playframework, using 2.0. I'm having troubles configuring two
I'm having a first painful experience with postgresql, and the minute-challenge of the moment
I'm trying to get familiar with Git having only SVN prior experience. I have
Having just read the first four chapters of Refactoring: Improving the Design of Existing
I'm having my first experience in developing html5 applications. My issue is to make
In teaching a first language to someone with no programming background I am having
I'm having my first play around with Ember.js, and am falling at the first
What I want is to have a table having a first column with every
In my html table I have two row, first row having no css but
First time cake user and I'm having real apache problems. For some reason 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.