Jump to content

Updating Mangos on GIT [Centos]


Guest aerolite

Recommended Posts

Hi! my previous post about updating the server had been deleted without any notice. If I post it in the wrong section please forgive me and tell me.

I'm new in GIT and I don't really know how to update my server using the command line. Can anyone help me please? and do I have to update the sql as well? thank you so much!

Link to comment
Share on other sites

Thank you so much! but Patman there's a conlict on my server

# git remote show

Usage: git remote show <remote>

# git remote add origin mangos git://github.com/mangos/mangos.git

Usage: git remote add [-f] [-t track]* [-m master] <name> <url>

# git pull origin master

remote: Counting objects: 1509, done.

remote: Compressing objects: 100% (604/604), done.

Indexing 1372 objects...

remote: Total 1372 (delta 1185), reused 914 (delta 768)

100% (1372/1372) done

Resolving 1185 deltas...

100% (1185/1185) done

125 objects were added to complete this thin pack.

Updating 5fdb9b7..0503742

configure.ac: needs update

src/bindings/Makefile.am: needs update

src/mangosd/Makefile.am: needs update

fatal: Entry 'configure.ac' not uptodate. Cannot merge.

How can Update that?

Link to comment
Share on other sites

even though that's among the top5 questions asked:

It means your working copy is modified with respect to HEAD.

If you don't want to keep the changes:

git checkout -f

git pull origin master

or if you want to get rid of any merged commits from other branches too:

git fetch origin

git reset --hard origin/master

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use