0

I have some updated code in the GitHub master I don't have that updates. But I too have some Updates in my branch(which are not present in master). Now I want to download new updated code that present in master to my branch editinfo but I don't want to it to erase my code(my updates). I want my changes to be also present.How can I do it, Can someone help me with commands?

  • https://git-scm.com/book/en/v2/Git-Basics-Working-with-Remotes – Michał Walenciak Jun 25 '18 at 10:37
  • Possible duplicate of [Updating a local repository with changes from a Github repository](https://stackoverflow.com/questions/1443210/updating-a-local-repository-with-changes-from-a-github-repository) – phd Jun 25 '18 at 12:25

1 Answers1

0

Just pull the remote changes to your master branch and merge with your editinfo branch.

A simple git pull should update your current master. See the documentation on how to merge your editinfo branch.

If the answer doesnt fit, please be more specific.

NaN
  • 7,441
  • 6
  • 32
  • 51