Fix push command to use the force flag

This commit is contained in:
Tiago Oliveira 2017-07-05 21:10:32 +01:00
parent 586e23ba4c
commit da33af3eb7

View File

@ -45,9 +45,9 @@ We use [Feature-branch-workflow](https://www.atlassian.com/git/tutorials/compari
git add <file1> <file2> ...
git rebase --continue
```
* Push your branch
* Push your branch. Rebase will change history, so you'll have to use `-f` to force changes into the remote branch. If someone else is working on your branch, use the less destructive `--force-with-lease` ([Here is why](https://developer.atlassian.com/blog/2015/04/force-with-lease/)).
```
git push
git push -f
```
* Make a Pull Request
* Pull request will be accepted, merged and close by reviewer