Skip to content

Instantly share code, notes, and snippets.

@mateusdeleon
mateusdeleon / git.md
Created June 21, 2018 12:23 — forked from leocomelli/git.md
Lista de comandos úteis do GIT

#GIT

Estados

  • Modificado (modified);
  • Preparado (staged/index)
  • Consolidado (comitted);

Ajuda

@mateusdeleon
mateusdeleon / gist:9b8209275a87fb65516c53d36f52c5a8
Created September 14, 2018 13:21 — forked from vladimirtsyupko/gist:10964772
Git force pull to overwrite local files
git fetch --all
git reset --hard origin/master
git pull origin master