Move you changes to your new branch from master
To move your changes from the master branch to a new branch in WebAssembly, you can follow these steps:
Make sure you are on the master branch by running the command
git branch. The current branch will be highlighted with an asterisk.
Create a new branch using the command
git branch <new-branch-name>. Replace
<new-branch-name>with the desired name for your new branch.
Switch to the new branch using the command
git checkout <new-branch-name>. This will switch your working directory to the new branch.
Verify that you are now on the new branch by running
git branchagain. The new branch should be highlighted with an asterisk.
Move your changes to the new branch by committing them. Use the command
git add <file>to stage the changes, replacing
<file>with the name of the file you want to commit. Then, use the command
git commit -m "Commit message"to commit the changes.
Repeat step 5 for each file you want to move to the new branch.
Push the new branch to the remote repository using the command
git push origin <new-branch-name>. This will make the new branch available to others working on the repository.
That's it! Your changes have been moved to the new branch in WebAssembly. Remember to replace
<new-branch-name> with the actual name of your new branch.