2.1 은 잘되었는데요.. 동일한 방법으로 진행했습니다.
git stash 하면
vendor/defuse/php-encryption/test.sh: needs merge
이 메시지가 나오네요.. 머가 잘못되었을까요?
git pull 하면
힌트: Pulling without specifying how to reconcile divergent branches is
힌트: discouraged. You can squelch this message by running one of the following
힌트: commands sometime before your next pull:
힌트:
힌트: git config pull.rebase false # merge (the default strategy)
힌트: git config pull.rebase true # rebase
힌트: git config pull.ff only # fast-forward only
힌트:
힌트: You can replace "git config" with "git config --global" to set a default
힌트: preference for all repositories. You can also pass --rebase, --no-rebase,
힌트: or --ff-only on the command line to override the configured default per
힌트: invocation.
error: 병합하지 않은 파일이 있으므로, 풀을 할 수 없습니다.
힌트: 작업 폴더에서 문제를 바로잡은 다음, 'git add/rm <파일>'을 적절히
힌트: 사용해 해결 표시하고 커밋하십시오.
fatal: 해결하지 못한 충돌 때문에 끝납니다.
이렇게 나오는 상황입니다.
vendor/defuse/php-encryption/test.sh 파일을 수정하신 적이 있나요?
의도적으로 건드릴 만한 파일은 아니고, 뭔가 실수로 수정/삭제하신 것 같은데요.
git checkout HEAD vendor/defuse/php-encryption/test.sh
명령으로 해당 파일의 수정내역을 원상복구한 후, 다시 git pull을 시도해 보세요.