Jump to content
  • 0

Update to latest git.


Question

Posted

Hey guys i get this when i use command "git pull"

 

Updating a3dbbe2..d569d28
error: Your local changes to 'npc/cities/prontera.txt' would be overwritten by merge.  Aborting.
Please, commit your changes or stash them before you can merge.

 

How do you update without it doing this?

7 answers to this question

Recommended Posts

Posted

Okay i figured it all out.

 

I get this.

 

 

npc/mapflag/nobranch.txt: needs merge
npc/other/mail.txt: needs merge
npc/mapflag/nobranch.txt: needs merge
npc/other/mail.txt: needs merge
npc/mapflag/nobranch.txt: unmerged (c4f30f67698d458d58affaf6bc580ffd72d5e55f)
npc/mapflag/nobranch.txt: unmerged (ad2cc37a209733749ed7f7394cbb42529206a881)
npc/mapflag/nobranch.txt: unmerged (612eb9e6b791f2be5bda1e0326634aab9b55e756)
npc/other/mail.txt: unmerged (2d3805780ce850d1aad3aeca49106adf8e4c427a)
npc/other/mail.txt: unmerged (0da502d70a3448ee7dfd73950f1d1c58d58453ef)
npc/other/mail.txt: unmerged (1c777ef41ec1af5979cdd8abe12f2aef2ec668e8)

 

Anyone help me on how to fix this? ive opened the files and removed the

 

<<<<<<<

=======

>>>>>>>

 

but still keeps failing to merge.


NVM fixed :)

Posted

update svn was so much better!!!

lol'd at this.

 

 

Can anyone help on how to do this?

Maybe you should read some Git tutorials before trying to use it. It is not really hard but Git has a lot of features.

To resolve your current problem I'd suggest to use git stash, git pull, git stash apply. This will lead to conflicts between your stashed changes and the ones you pulled. You have to resolve them manually because there's some logic Git couldn't resolve by itself.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...