Is it possible to retrieve your source code from heroku?

后端 未结 6 1111
执笔经年
执笔经年 2021-01-31 02:37

Once you have uploaded your source code to Heroku, is it possible to download it from there if necessary such as in the case of a failure of your local disk?

Because of

6条回答
  •  佛祖请我去吃肉
    2021-01-31 03:07

    First download and install heroku CLI.

    Then run this command:

    heroku login
    

    Login by using your username and password.

    Then git clone by using:

    heroku git:clone -a APP-NAME
    

    **** OR ****

    1) Login to heroku : https://id.heroku.com/

    2) select your app.

    3) Select Deploy option.

    Here you will get all the details with commands for getting the source code.

提交回复
热议问题