• Skip to main content

Uly.me

cloud engineer

  • Home
  • Archives
  • Search

changes

Git Reset Hard

February 12, 2022 by Ulysses

Reset uncommitted changes to both files and directories.

git reset --hard

git reset --hard

Remove untracked files and directories.

git clean -fd

git clean -fd

Filed Under: Git Tagged With: changes, hard, reset, uncommitted

  • Home
  • About
  • Contact

Copyright © 2022