mirror of
https://github.com/k88hudson/git-flight-rules.git
synced 2025-03-10 12:48:43 -03:00
Merge pull request #1 from lennym/patch-1
Add note about "care" when force-pushing
This commit is contained in:
commit
9cc11b7b24
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user