$ git rebase --onto master local-dev <feature-branch>
for the first time and I felt like I ascended, lol
I used it to no longer keep untracked changes in my local repository (changes in .next.config.js and .env.sample). I created a local-dev branch and then create branches from that one.
And before I push, I run this command so my local changes are no longer included in the branch.
.next.config.js
and.env.sample
). I created alocal-dev
branch and then create branches from that one.