Read this sections if you want to merge changes made to the 'head' / 'master' / 'origin' (previous called Trunk) into your branch. (Check this site to the git concepts of HEAD, master, origin to)
Your Branch does not automatically update when changes are made to the head. To get changes made to the head into your branch, follow the following steps:
- Make sure all your changes are committed to your Branch. Executing "git status" in the source directory should not return any output.
- You can update your branch using the command "git fetch origin" in your source directory
- Merging doesn't always go smoothly. You might get conflicts when you edited a file that we edited as well. 'git merge' will ask you to accept the changes, or postpone the decision. When in doubt, postpone and fix the issue later.
- Make sure all your code compile correctly. Executing "make fullTest" in the build directory should return "100% tests passed".
- If some codes don't compile, you have to look into your code and find the issues (That's the difficult part. Ask one of the other developers for help if necessary.)
- If you cannot resolve the issues, you can undo the merge using 'git checkout – fileToRevert' in your source directory.
- If you could resolve all issues (i.e. "make fullTest" returns "100% tests passed") and also your code compiles okay, then commit your changes:
git commit -
m "Merged Master changes into my local branch"
int * m
Definition: level2_cplx_impl.h:294