--force flag can be very dangerous, because it unconditionally overwrites remote branch - if someone pushed new commits to the remote repo after you last fetched/pulled, and you do push --force, you will overwrite his commits without even knowing that you did that. Using --force-with-lease is much safer because it only overwrites remote branch when it points to the same commit that you think it points to. Read more: https://developer.atlassian.com/blog/2015/04/force-with-lease/ |
||
|---|---|---|
| .. | ||
| functional | ||
| rules | ||
| specific | ||
| __init__.py | ||
| conftest.py | ||
| test_conf.py | ||
| test_corrector.py | ||
| test_logs.py | ||
| test_readme.py | ||
| test_shells.py | ||
| test_types.py | ||
| test_ui.py | ||
| test_utils.py | ||
| utils.py | ||