search

Home  >  Q&A  >  body text

sina-app-engine - 新浪sae服务如何使用git提交代码?

在新浪sae的官方doc里最近出现使用git部署代码的说明,但是我在我的ubuntu系统下始终无法成功push本地的git仓库。
问题就出在push的那一步,根本就不给输入账号密码的机会。
想请教一下有没有一种设置账号密码然后一劳永逸的方法。
有没有哪位已经成功使用过的讲讲经验。谢谢!

仅有的幸福仅有的幸福2771 days ago721

reply all(5)I'll reply

  • PHP中文网

    PHP中文网2017-05-02 09:24:20

    Can they use git? I'll go check it out, it's really nice

    reply
    0
  • PHPz

    PHPz2017-05-02 09:24:20

    I can’t open the git repository he gave me at all. . .

    reply
    0
  • 習慣沉默

    習慣沉默2017-05-02 09:24:20

    Why haven’t I seen that SAE can use GIT? It seems that he is ignorant.

    reply
    0
  • 仅有的幸福

    仅有的幸福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"

    - - #

    reply
    0
  • ringa_lee

    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.

    reply
    0
  • Cancelreply