在新浪sae的官方doc里最近出现使用git部署代码的说明,但是我在我的ubuntu系统下始终无法成功push本地的git仓库。
问题就出在push的那一步,根本就不给输入账号密码的机会。
想请教一下有没有一种设置账号密码然后一劳永逸的方法。
有没有哪位已经成功使用过的讲讲经验。谢谢!
習慣沉默2017-05-02 09:24:20
Why haven’t I seen that SAE can use GIT? It seems that he is ignorant.
仅有的幸福2017-05-02 09:24:20
It seems that you need to create a new empty application, and then push your own code to it. The code version corresponds to the branch, unlike svn, where the code version corresponds to the folder
It should be incompatible with the previous svn, so you need to create a new application.
Official document address: Code Deployment Manual
I created a new application and succeeded by following the tutorial. But the tutorial should obviously be
git commit -m "initial commit"
instead of
svn commit -m "initial commit"
- - #
ringa_lee2017-05-02 09:24:20
After the project is successfully created, do not click the "Create Version" button. Click to create the initial version, so that git cannot be used by default using svn. You can only delete it and start again.