Automatic Commit and Push to GitHub from Android Studio

后端 未结 1 1867
别那么骄傲
别那么骄傲 2021-01-07 02:47

I have been working in Android Studio for more than 2 years. I used to create a repository in GitHub and commit files manually using the built in VCS in Android Studio. But

相关标签:
1条回答
  • 2021-01-07 03:05

    There is not such feature for git and android studio (or plugin) themselves.

    And if you really need this feature, you can use your own script and schedule to run the script on your local machine.

    For example, you can use a shell script to commit and push changes:

    #!/bin/bash
    
    git add .
    git commit -m 'message'
    git push
    

    And then auto run the script as these methods show:

    schedule running a bash shell script in windows

    Running .sh every 5 minutes

    0 讨论(0)
提交回复
热议问题