You can commit changes in different types.
git stash git checkout otherBranch git stash pop
git branch otherBranch git checkout -m otherBranch
git checkout otherBranch git add * git commit -m
https://stackoverflow.com/questions/2944469/how-to-commit-my-current-changes-to-a-different-branch-in-git
Last updated 2 years ago