git reset --hard HEAD^
to delete the latest commit any idea on how to do it when HEAD is detached?HEAD detached at pull/34/merge
and i want it to stay detached i just want to revert to a prior commitfatal: ambiguous argument 'HEAD^': unknown revision or path not in the working tree.
pacman -S nvidia=455.45.01-1
instead but have to dowgrade my package db to find itpacman -U filename
and add it to IgnorePkg
in /etc/pacman.conf to prevent future updates to it