thefuck/tests
Jan Warchoł dc23d67a42 Use --force-with-lease instead of --force for git push
--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/
2015-10-30 16:17:56 +01:00
..
functional #366 Don't make bash history checks in travis-ci, it works incorrectly 2015-09-08 17:48:33 +03:00
rules Use --force-with-lease instead of --force for git push 2015-10-30 16:17:56 +01:00
specific ⚠️ Remove `settings` param from rules `match`, `get_new_command` and `side_effect` 2015-09-07 13:00:29 +03:00
__init__.py Fix tests with python 2 2015-04-25 03:13:57 +02:00
conftest.py Minor refactoring 2015-09-08 15:24:49 +03:00
test_conf.py Organize settings initialization logic in `Settings` 2015-09-08 15:15:53 +03:00
test_corrector.py Move rule-related code to `Rule` 2015-09-08 14:18:11 +03:00
test_logs.py Fix tests 2015-09-07 12:12:16 +03:00
test_readme.py Minor refactoring 2015-09-08 15:24:49 +03:00
test_shells.py Make `thefuck-alias` generated alias a parameter 2015-07-20 13:35:22 +02:00
test_types.py Move commands-related logic to `Command` and `CorrectedCommand` 2015-09-08 15:00:57 +03:00
test_ui.py Remove obscure `SortedCorrectedCommandsSequence` 2015-09-08 12:52:10 +03:00
test_utils.py ⚠️ Remove `settings` param from rules `match`, `get_new_command` and `side_effect` 2015-09-07 13:00:29 +03:00
utils.py Minor refactoring 2015-09-08 15:24:49 +03:00