Git
Git - Frequently Used
Some git commands I frequently use but sometimes keep forgetting.
checkout to main, pull latest, and clear other branches
restore
references : git-tower
rebase
references : git docs
relocate last commit to another branch
when you accidentally commit to branch_a
but actually you want to commit it in branch_b