Reflog — восстановить потерянные коммиты git
Последние движения HEAD включая rebase и reset
git reflog show --date=relative | head -20
more git
all 45 commands →
Stash с сообщением
git stash push -m 'WIP: feature-x' -u
Применить stash по индексу
git stash pop stash@{2}
Bisect — найти сломавший коммит
git bisect start && git bisect bad HEAD && git bisect good <good-sha>
Worktree — несколько веток
git worktree add ../feature-branch feature/my-feature
Обновить submodule
git submodule update --init --recursive