Skip to content

Instantly share code, notes, and snippets.

View netalex's full-sized avatar

Alessandro Aprile netalex

View GitHub Profile
@netalex
netalex / moveCommit.sh
Last active June 15, 2021 09:08
how to move a commit from a branch to another
# https://dev.to/projectpage/how-to-move-a-commit-to-another-branch-in-git-4lj4
# b12ca8b: commit da spostare
# 02b2852: commit precedente
git checkout feature/branch-destinazione
git cherry-pick b12ca8b
git checkout feature/branch-da-cui-togliere
{"lastUpload":"2020-07-14T10:21:36.180Z","extensionVersion":"v3.4.3"}