Merge pull request #1 from lennym/patch-1

Add note about "care" when force-pushing
This commit is contained in:
Kate Hudson 2014-07-28 18:38:49 -04:00
commit 9cc11b7b24
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ hint: 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
```
Since rebasing **replaces the old commit(s) with a new one**, you must force push (`-f`) your changes. Be careful when you do this!
Since rebasing **replaces the old commit(s) with a new one**, you must force push (`-f`) your changes. Be careful when you do this - *always* make sure you specify a branch!
```
(mybranch) $ git push origin mybranch -f