DEV Community

Sahinur
Sahinur

Posted on • Updated on

Git Tips

Did you forget to create a new branch, and made your changes in the wrong branch?

🔮 git switch -c "new-branch"

Creates a new branch and moves all your changes to the new branch

Top comments (0)