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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T15:21:10+00:00 2026-05-25T15:21:10+00:00

I’m a complete newbie to Git, not really sure what’s going on. My buddy

  • 0

I’m a complete newbie to Git, not really sure what’s going on. My buddy and I are working on a project together.

I fetched all the files from a remote server git fetch, so I now have a whole bunch of files.

  • I edit some of them, he edits some of them, etc.

  • I keep doing fetch everyday, and he begins to tell me that he has modified some of the files and updated them, but these changes do not show up on my end.

  • I open up Git GUI in Windows, on the left side there are two panels.

    One says Unstaged Changes – I’m taking this to mean these are
    things I changed which will not be updated to a local repository
    unless I add them.

    The other one says Staged Changes (Will Commit). Inside this
    window, when I click on some of the files, I do see the updates my
    friends have made which are NOT showing up in the files I’m editing,
    and I think I also see changes I’ve made.

  • I add all the files with git add . in my directory

  • I press the commit button in Git GUI, now there are no more files in any of the two side panels, no Unstaged Changes and no Staged Changes (Will Commit).

  • I check all the files and it seems like the changes from both my end and my friend’s end have been merged into one file.

I’m still not 100% sure what happened.

  • Question 1: Did I do this right?

  • Question 2: What exactly does merge do?

Because I keep merging with git merge origin/master and merging doesn’t seem to do a damn thing. I thought commit just writes a record down of your current version into some hash codes, but seems like commit is actually doing what I thought merge does – it’s merging changes.

Sorry for the long-winded question, just very confused.

  • 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-25T15:21:11+00:00Added an answer on May 25, 2026 at 3:21 pm

    I believe you’re misunderstanding git fetch.

    It only fetches the changes made to a remote repository, in your case the master branch in the origin repo, but it does not apply them to your tree (it only stores them locally in the .git directory). git merge, on the other hand, applies the remote changes onto your repository.

    You have to use git pull origin master to pull your friend’s changes and merge them into your working tree. Essentially, a git pull is the same as git fetch followed by git merge.

    Check this out: Git Fetch vs Pull


    ALTERNATIVELY

    Your friend/you are not pushing to the origin repository. Is your friend doing git push origin master after he commits? Commits are local, and to “share” them with the rest of the world, you must git push.

    The only exception is when he is working directly on the origin repository. Then he does not need to push as all his commits are already on origin in his branch.

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

Sidebar

Related Questions

I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I have a text area in my form which accepts all possible characters from
I need a function that will clean a strings' special characters. I do NOT
I have thousands of HTML files to process using Groovy/Java and I need to
I'm working with an upstream system that sometimes sends me text destined for HTML/XML
I have a bunch of posts stored in text files formatted in yaml/textile (from
Is it possible to replace javascript w/ HTML if JavaScript is not enabled on
That's pretty much it. I'm using Nokogiri to scrape a web page what has

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.