Answers for "reset hard in git using command"

3

git reset head

sudo git reset --hard Head
Posted by: Guest on December-09-2020
0

git reset hard directory

git restore --source=HEAD --staged --worktree -- aDirectory
# or, shorter
git restore -s@ -SW  -- aDirectory
Posted by: Guest on December-28-2020

Browse Popular Code Answers by Language