어제 나는 Github repo에서 최신 사본을 가져 오는 git pull
을했습니다. 힘내 - 모든 변경 사항 변경 실행 취소
git add .
지금 내가 어제로부터 무엇 재설정 할하지 않았다 - 원래 (마지막 자식 풀)로 다시 어제의 모든 작업 변경 사항을 제거 의미한다.
어떻게 하시겠습니까?
$ 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) –