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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T15:15:52+00:00 2026-06-01T15:15:52+00:00

If I downloaded a sample project (not Git managed) on a website and I

  • 0

If I downloaded a sample project (not Git managed) on a website and I created a branch and some commits to this project. Then, the original author made some updates to this project and published on the website…

Now how can I merge this update (not Git managed) to my Git managed project??

I am new user of VCS/Git.

Thanks.
Raymond

  • 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-01T15:15:54+00:00Added an answer on June 1, 2026 at 3:15 pm

    Make a second branch that starts at the original SHA you started from (before you made any changes).

    Check out that branch.

    Replace the contents of the working directory with the new version of the outside code.

    git add . and git add -u to stage all of the changes and removals.

    Commit.

    Check out your original branch, and merge the second branch in.

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

Sidebar

Related Questions

Visual Studio 2008. I downloaded a sample project and unzipped it. I have to
I downloaded the xVal sample project from Steve Sanderson’s blog , run it, and
I have downloaded the sample code from this site for FTP Client http://www.lysesoft.com/products/andftp/index.html But
This is a strange problem I'm having, I've downloaded the WebSharingAppDemo sample from Microosfts
I just downloaded one sample from this link :- http://msdn.microsoft.com/en-us/library/ff431744%28v=VS.92%29.aspx But when i try
I tried a sample project about Hibernate Many-to-Many relationship downloaded from http://www.vaannila.com/hibernate/hibernate-example/hibernate-mapping-many-to-many-using-annotations-1.html Then I
I'm trying to use this DataBase that come with this sample project with from
I have xcode 4 and iphone simulator 4.3. i have downloaded sample project from
I've downloaded the djangoappengine project sample django-guestbook from www.allbuttonspressed.com to test how it works
I downloaded the three20 library: http://three20.info/ And I opened the TTCatalog sample project that

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.