mirror of
https://github.com/k88hudson/git-flight-rules.git
synced 2025-03-10 12:48:43 -03:00
Add note about "care" when force-pushing
It wasn't obvious exactly how a user should "be careful" when force-pushing. Being explicit about what exactly it is important to take care to do can improve confidence in the process.
This commit is contained in:
parent
0b1f8fe4b6
commit
20dc20e9ae
@ -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