muista: git push --force-with-lease
git push --force-with-lease
VS Code: git branch view
title & body
vs code settings:
git reset master
git rebase -i commit_before_start
käy läpi muutokset branchi-viewistä käsin, laita uudet committiviestit ylös johonki esim notepad ja merkkaa mitä komentoa käytät mihinki
git merge —ff-only
obs: if you've merged something from master to this branch somewhere in the middle, rebase fails
git rebase -i <your_commit>^
edit
git reset HEAD^
git add
git commit
git rebase --continue