Jump to content
  • 0

question about git updates will it affect the changes made??


AinsLord

Question


  • Group:  Members
  • Topic Count:  261
  • Topics Per Day:  0.08
  • Content Count:  758
  • Reputation:   20
  • Joined:  11/21/15
  • Last Seen:  

example i changed something on my rathena like mostly on src area

and i made a git pull will it revert my changes back to original or it wont affect any changes i made???

and is this the correct command for getting the latest git of rathena??

git clone https://github.com/rathena/rathena.git

thnx for the response

1st time doing the git im used to svn co https://github.com/rathena/rathena.git

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  107
  • Topics Per Day:  0.02
  • Content Count:  778
  • Reputation:   73
  • Joined:  02/10/12
  • Last Seen:  

to update your git just command "git pull"

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  261
  • Topics Per Day:  0.08
  • Content Count:  758
  • Reputation:   20
  • Joined:  11/21/15
  • Last Seen:  

3 hours ago, melv0 said:

to update your git just command "git pull"

yes but my question is does it affect the custom changes i made

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  107
  • Topics Per Day:  0.02
  • Content Count:  778
  • Reputation:   73
  • Joined:  02/10/12
  • Last Seen:  

11 minutes ago, whodhell said:

yes but my question is does it affect the custom changes i made

yeah it will effect if your costum confilt with new update
check this out

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  261
  • Topics Per Day:  0.08
  • Content Count:  758
  • Reputation:   20
  • Joined:  11/21/15
  • Last Seen:  

im not installing it on windows

im using VPS to install it

well thnx for the info

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  249
  • Reputation:   73
  • Joined:  10/20/12
  • Last Seen:  

Usually you want to create and maintain a fork of rathena, where you can add your own changes and merge them from time to time with the changes from rathena.

Example: https://gist.github.com/yannvery/497ccbf26e4a71e8ad50

I'd suggest you to read about branching and merging in the git documentation (it's nicely illustrated). https://git-scm.com/book/en/v2

Link to comment
Share on other sites

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.

×
×
  • Create New...