Answers for "create branch with local changes"

1

commit unstaged changes to new branch

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

create branch with local changes

# Update 2020 / Git 2.23
git switch -c <new-branch>

# Before Update 2020 / Git 2.23
git checkout -b new_branch_name
Posted by: Guest on July-20-2021

Code answers related to "create branch with local changes"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language