프로그래밍/Django
pythonanywhere/Django/git pull error
Ask-How
2019. 7. 10. 12:10
git pull 을 했더니 이런 에러 메시지가 나온다.
error: Your local changes to the following files would be overwritten by merge: mysite/settings.py
Please, commit your changes or stash them before you can merge.
Aborting
https://jybaek.tistory.com/389
git pull 을 할 때 다른 사람과의 commit이 일어나기도 한다고...
> git stash
를 하면 아래처럼 나온다. 이메일과 아이디를 다시 입력하고,
git pull을 하면!!
또 에러라고? 아 git stash를 해야지.
다시 git stash를 하고 나면,
Saved working directory and index state WIP on master: c0ee4df My Django app, first commitHEAD is now at c0ee4df My Django app, first commit
뭔가를 했다고 한다.
> git pull 하면 잘 된다.