Skip to content

Instantly share code, notes, and snippets.

@marciofmjr
Created October 11, 2021 00:00
Show Gist options
  • Save marciofmjr/07883f5cf05f3ca3e1fdc95f2fe20ac5 to your computer and use it in GitHub Desktop.
Save marciofmjr/07883f5cf05f3ca3e1fdc95f2fe20ac5 to your computer and use it in GitHub Desktop.
git checkout NOME_DO_ARQUIVO
# Exemplo
git checkout README.md
# Também é possível resetar mais de um arquivo por vez
git checkout .
# Ou resetar uma pasta específica
git checkout src/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment