SyntaxFix
Write A Post
Hire A Developer
Questions
If you want to keep the changes and change the branch in a single line command
git stash && git checkout <branch_name> && git stash pop