Cherry-pick коммита git
Применить один коммит из другой ветки
git cherry-pick <sha>
more git
all 45 commands →
Reflog — восстановить потерянные коммиты
git reflog show --date=relative | head -20
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