Web Testing/Automation/CodeReviewProcess: Difference between revisions

Line 77: Line 77:
** <code>git push -f origin my_branch</code>
** <code>git push -f origin my_branch</code>
* If you are doing this on behalf of someone else, in order to squash their commits before merging, you can merge this new branch into your local master branch and then push the master branch:
* If you are doing this on behalf of someone else, in order to squash their commits before merging, you can merge this new branch into your local master branch and then push the master branch:
<code>
** <code>git checkout master</code>
git checkout master
** <code>git pull upstream master</code>
git pull upstream master
** <code>git merge my_branch</code>
git merge my_branch
** <code>git push upstream master</code>
git push upstream master
 
</code>
=== Using merge with --squash to squash commits ===
Confirmed users
425

edits