我跟着这个教程
http://danbarber.me/using-git-for-deployment
我做了一切,跟着它去喝茶。
我在本地机器上,我对一个文件进行了更改,然后执行
git commit -a -m "test"
然后:
git push
然后它询问我的服务器密码,所以我输入并收到此错误:
stdin: is not a tty
Counting objects: 13, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (5/5), done.
Writing objects: 100% (7/7), 504 bytes, done.
Total 7 (delta 4), reused 0 (delta 0)
remote:
remote: **** Pulling changes into live
remote:
remote: From /var/git/agriTech
remote: * branch master -> FETCH_HEAD
remote: error: Your local changes to 'module/Application/view/layout/layout.phtml' would be overwritten by merge. Aborting.
remote: Please, commit your changes or stash them before you can merge.
remote: Updating 5a53563..7236cb6
To root@217.199.160.153:/var/git/agriTech.git
5b4fafd..7236cb6 master -> master