Snippet: git switcheroo
I aliased a git command to move commits from one branch to another (usually main
to dev
). A bad idea? 🤷
Usage: git switcheroo {COMMIT HASH} {SOURCE BRANCH} {TARGET BRANCH}
➡️ e.g: git switcheroo 7edaf7 main dev
I aliased a git command to move commits from one branch to another (usually main
to dev
). A bad idea? 🤷
Usage: git switcheroo {COMMIT HASH} {SOURCE BRANCH} {TARGET BRANCH}
➡️ e.g: git switcheroo 7edaf7 main dev