Git · Middle · Pytanie 75 z 75
Co robi lokalnie git merge --squash feature?
- 1Scala
feature, a potem usuwa tę gałąź - 2Robi rebase
featurei fast-forward bieżącej gałęzi - ✓Poprawna odpowiedź: Dodaje wszystkie zmiany
featuredo indeksu bez commita
Wyjaśnienie
Potem robisz jeden commit z własnym opisem. Nie powstaje commit scalający, a feature nie jest uznana za scaloną, tak samo jak przy scaleniu squash na platformie.