Answers for "commit unstaged changes to new branch"


how to move unstaged changes to different branch

git stash
git checkout -b new-branch
git stash pop
Posted by: Guest on May-19-2020

commit unstaged changes to new branch

git checkout -b new_branch_name
Posted by: Guest on September-28-2020

revert unstaged changes git

git checkout -- path/to/file/to/revert
Posted by: Guest on July-18-2020

Code answers related to "commit unstaged changes to new branch"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language