昨日私はを実行し、Githubリポジトリから最新のコピーを取得しました。Git - すべての変更を元に戻す
私は昨日、いくつかのコーディングをしましたが、私は今、私はそれが昨日から何であったかリセットしたいgit add .
をしませんでした - 元(最後のgitプル)に昨日からのすべての作業の変更を削除するという意味。
これを行う方法?
$ 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")
可能性のある重複した[ファイルとフォルダを含むコミットされていない変更を元に戻すには?](http://stackoverflow.com/questions/5807137/how-to-revert-uncommitted-changes-including https://git-scm.com/book/en/v1/Git-Tools-Stashingで続きを読みます-files-and-folders) –