Project merge steps:
- Switch to the target branch (team branch) git checkout V1
A. 2. Merge your branch (MJ-V1 is an example) git merge MJ-V1
- Push to the remote git push origin V1
B. 2. Pull remote changes git pull origin V1
-
If there are merge conflicts, Git will indicate which files are in conflict.
-
After resolving conflicts, mark them resolved git add .
-
Complete the merge git commit -m "Merge remote changes from V1"
-
Push git push origin V1