Skip to content

Instantly share code, notes, and snippets.

@SeRGei93
Last active November 2, 2022 07:17
Show Gist options
  • Save SeRGei93/2ecabfe933825f7aee408e6ae3368e90 to your computer and use it in GitHub Desktop.
Save SeRGei93/2ecabfe933825f7aee408e6ae3368e90 to your computer and use it in GitHub Desktop.
git hepler
#сбросить все измененния и откатится
git reset --hard HEAD
git clean -fd
#удалить файл из git
git rm -r --cached <path>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment