Advertisement
Anatolyukropov

How to pick commit from another Branch

Aug 14th, 2020
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. Если закоммитил в DEV (master)
  2. 1) создаём новую ветку (git flow feature start branchName).
  3. 2) git cherry-pick develop (забираем коммит из dev or master ветки)
  4. 3) git cherry-pick --continue (подтверждаем)
  5. 4) get flow feature publish vranchName (публикуем ветку)
  6. 5) Идём назад в дев git checkout develop
  7. 6) git log смотрим предыдущий коммит
  8. 7) git reset --hard a3775a5485af0af20375cedf46112db5f813322a
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement