What is dangerous rebase, or how it happened that 2 * 3 = 5
Once a senior programmer Anton was looking for the reason for the next bug in a very important project of the company:
git bisect start
git bisect bad
git bisect good
…
rebase, , .
— , . : «2*3=5», !
@#$%^
?
: — , ! , «2*3=5» ?
: — . «2+3=5» , .
: — «2+3» , «2*3», .
, : , «2*3=5». …
: — , , , .…
..
. merge, rebase, , , .
git bisect .
— , . «2*3=5», . , , 2 . «2+
3=
5», , 5 . «2
*2=4». , «2*3=5», .
: — , ! ?
: — , .
: — , - .
: — .: rebase , , , . .
github.
Upd., ,
, «2+2=4 ( )», merge rebase .
')
Source: https://habr.com/ru/post/179123/
All Articles