Hier, j'ai fait git pull
qui saisissent la dernière copie de Github repo.Git - Annuler tous les changements changements
J'ai fait quelques codage hier, mais je ne l'a pas git add .
Maintenant, je veux rétablir ce qu'il était d'hier - ce qui signifie supprimer tous les changements de travail d'hier Retour à l'original (dernière git pull).
Comment faire?
$ git status
On branch develop
Your branch is behind 'origin/develop' by 5 commits, and can be fast-forwarded.
(use "git pull" to update your local branch)
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: app/Http/Kernel.php
modified: app/Http/routes.php
modified: composer.json
modified: database/seeds/DatabaseSeeder.php
no changes added to commit (use "git add" and/or "git commit -a")
double possible de [Comment annuler les modifications non validées, y compris les fichiers et dossiers?] (Http://stackoverflow.com/questions/5807137/how-to-revert-uncommitted-changes-including -files-and-folders) –