I've been editing some files on the master branch. I'm now thinking that these changes should be on an experimental branch and not the master branch. source
return then to 'master' branch, no changes made as all moved to 'my_new_branch' branch
ref
https://www.theserverside.com/blog/...e-new-branch-with-local-changes-current-saved [video]
git checkout -b my_new_branch
git commit
return then to 'master' branch, no changes made as all moved to 'my_new_branch' branch
git checkout master
git status
ref
https://www.theserverside.com/blog/...e-new-branch-with-local-changes-current-saved [video]