summaryrefslogtreecommitdiff
path: root/docs/Syncing-your-fork.md
blob: c15bdc1494b1cdbbb6ae172ad76c3eba70de5287 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Syncing your fork is always a good idea when you create a Pull Request.

# How to sync your AzerothCore fork

Open your terminal and move to the local clone of your AzerothCore fork.

Switch to your _master_ branch (or whatever branch you need to sync):

`git checkout master`

Then type:

`git remote add upstream https://github.com/azerothcore/azerothcore-wotlk.git`

`git fetch upstream`

`git merge upstream/master`

Then when you are ready to push the changes (e.g. after resolving merge conflicts, if any):

`git push`