Commit changes to other branch
You can commit changes in different types.
Type 1:
git stash
git checkout otherBranch
git stash pop
Type 2:
git branch otherBranch
git checkout -m otherBranch
Type 3:
git checkout otherBranch
git add *
git commit -m
Last updated
Was this helpful?