Skip to content

Instantly share code, notes, and snippets.

View AmurimGabriel's full-sized avatar
🎯
Focusing on studies and being a developer.

Gabriel Amurim de Souza AmurimGabriel

🎯
Focusing on studies and being a developer.
View GitHub Profile
@AmurimGabriel
AmurimGabriel / README-Template.md
Created September 10, 2020 00:20 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@AmurimGabriel
AmurimGabriel / desfazendo-push.md
Created June 15, 2020 00:51 — forked from davidalves1/desfazendo-push.md
Desfazendo um git push

Desfazendo um git push

Não é possível desfazer um push diretamente, como é feito com o commit utilizando o comando $ git reset --soft|mixed|hard hash-do-penultimo-commit

Para desfazer um push são necessários 3 passos:

  1. Utilizar o comando $ git reset --mixed hash-do-penultimo-commit e em seguida utilizar o comando $ git stash
  2. Utilizar o comando $ git revert hash-do-ultimo-commit
  3. Utilizar o comando $ git stash apply
@AmurimGabriel
AmurimGabriel / git.md
Created May 24, 2018 01:24 — forked from leocomelli/git.md
Lista de comandos úteis do GIT

#GIT

Estados

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

Ajuda