[Archive] Using Git(Hu/La)b
[Archive] Using Git(Hu/La)b
Quote: 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?
Archived author: Смердокрыл • Posted: 2017-07-20T20:27:46+00:00
Original source
Quote: 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?
Archived author: wungasaurus • Posted: 2017-07-20T21:08:17+00:00
Original source
Click "pull".
Archived author: barncastle • Posted: 2017-07-21T08:24:39+00:00
Original source
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.