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 I need to know if the commit and push process can be automatically done every 5 or 10 minutes after establishing the initial commit. I have researched and was clueless on this issue. If there is any way or a plugin to do this, it would be great.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
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