Orion42 ~IT made easy~

Giving feedback, alpha testing and solving common problems with out of the box and lateral thinking

[Git] Rename a local and remote branch

If you want to rename a git branch on both your local and remote repository, you can change its name using the -m parameter of the branch command. Rename your local branch. You can do it both from inside the…

[Git] How to rebase last commit to a different branch with cherry-pick

In git is possible to rebase the last commit of Branch B onto Branch A and rollback Branch Bone commit using the cherry-pick instruction. Initial state: — — — —    (Branch-A) \ — XX      (Branch-B) Final state:…

Skip to content