Table: LinuxNotes
User: dreamable
Created at: 2022-04-12 07:25:32 UTC
Updated at: 2022-04-12 07:25:32 UTC
Reference:(Table ID 28, Record ID 9)

标题 :
undo remote commits in Git
笔记 :

undo remote commits:

git reset --hard 'xxxxx'

git clean -f -d

git push -f

Tag: