Git Quick Actions

Git Quick Actions for the Source Control Manager.
| Action |
Description |
| Commit Amend |
git commit --amend --no-edit |
| Commit Undo |
git reset --soft HEAD~1 |
| Interactive Rebase |
commits.length > 100 ? git rebase -i HEAD~100 : git rebase -i --root |
| Force Pull |
git fetch --prune, git checkout main, git branch -D <other-branches>, git reset --keep <remote>/main |
| Force Push |
git push --force-with-lease <remote> <remote-branch> |
| Reset Keep |
git reset --keep <remote>/<branch> |
| |