Смердокрыл

Using Git(Hu/La)b

Hey!

As most of modding/server software is, thankfully, open source, I've accumulated some questions about using services like GitHub:

  • Let's say I have "cloned" a repository to my computer, and now it has been changed on GitHub. How can I update the one I cloned, instead of deleting it and cloning the whole repository again?
  • Suppose that the repository in the question above is a server (e.g. trinitycore), and after I cloned it, I edited the code to fit my personal needs. How can I do the updating (see the previous question) without overwriting my own edits?

I'd be thankful for any help

Share this post


Link to post
Share on other sites
On 10.06.2017 at 8:48 PM, Смердокрыл said:
  • Let's say I have "cloned" a repository to my computer, and now it has been changed on GitHub. How can I update the one I cloned, instead of deleting it and cloning the whole repository again?
  • Suppose that the repository in the question above is a server (e.g. trinitycore), and after I cloned it, I edited the code to fit my personal needs. How can I do the updating (see the previous question) without overwriting my own edits?
 

 

Share this post


Link to post
Share on other sites

Just my two cents...

If you've never touched Git before it might be worth running through their interactive tutorials as they teach you the commands and a quick overview of how Git works - https://try.github.io/levels/1/challenges/1.

Also I'd install the Github Extension for Visual Studio as it hides all the nitty-gritty things behind a simple ui.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now