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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T17:25:45+00:00 2026-06-13T17:25:45+00:00

I am a newbie for github and started using GITHUB for WINDOWS chosen private

  • 0

I am a newbie for github and started using GITHUB for WINDOWS chosen private repositories and shared the same with my colleagues.

Now we are experiencing a problem, not sure how to solve it. We tried google and no use.

Myself and a colleague worked on a same file at a same time, he committed before me. I like to know the changes he made and I want to merge his change with my local file and finally want to commit my version. Is it possible with GITHUB using GITHUB for windows? I have done the same before with Tortoise SVN

I Opened shell command prompt and tried something like

  $ git diff

But it shows only differences and not advised me to merge local with staged version ..

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

    If you press the sync button, you’ll be pulling changes your friends made and pushed online. If changes don’t merge cleanly, you’ll be prompt that a conflict occurred. This will add conflicts line into your files where you’ll have to go and resolve them. After that, you’ll only need to commit the changes.

    The conflicted lines should appear in the Github for Windows interface (although I’m not 100% sure, I actually prefer resolving conflict through the command line).

    By command line, you’ll have to enter command as so:

    git pull
    # If merge conflict, you'll be prompt to resolve them, git will list conflicted files
    # Open those files in you editor and resolve conflicts. Line will be marked in the files.
    # When all is resolved :
    git add -A
    git commit
    # No need to enter a message, git will automatically fill the message with
    # merge conflict specific information
    git push
    

    In your files, the conflict marker will look something like this:

    <<<<<<<<<<< [sha-1 of the commit]
    function() {
    ==================
    function( hey ) {
    HEAD>>>>>>>>>>>>>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Newbie question since I'm not up to speed using maven at all. I'm trying
I am newbie in GitHub, before i was using SVN for development of visual
I've started switching my private subversion projects to git (Github) and release the code
Newbie in testing. I generated a test case using Selenium, and then exported it
I'm a RoR newbie, trying to run the todos example using the readme .
I am trying to use https://github.com/rifraf/Vendorize which is run using a command like D:\projects\SomeLibrary\lib>ruby
Newbie to this forum... I was working on something lately and encountered a problem.
Newbie still learning, been trying to search and hack code together for hours now,
GitHub Users, I am newbie on github and have some issue with git setup.
I'm a newbie to RoR, GitHub and Heroku, so I'm still trying to figure

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.