Did you forget to push the code? Automate commit and push

Image for post
Image for post
Photo by Tim Gouw

Did you forget to push the code to the version control system ?. Here is the easy way to automate the commit and push the source code to any version control system using Apple Script Editor

Step 1 :

Create a new branch for the project (eg- development) also make sure your current workspace ie. development.

Step 2 :

Open Apple Script copy & paste the below code, change the project path and commit messages and time interval to commit & push the source code

Step 3 :

Save and export the script as application

Step 4 :

Make the application run at system startup, open System Preferences -> Users & Groups -> Login Items click the + button and add the saved application.

One Last Thing…

If you liked this article, please applaud it 👏 and share it with your friends, work colleagues and followers. Remember, you can clap up to 50 times — it makes a big difference for me in helping to focus my writing on what you guys enjoy reading the most.
You’re also welcome to follow me on Medium, on Twitter, or even connect with me on LinkedIn. Thank you for your support! 😊

Written by

Mobile app developer with an eye for design.Loves to create apps with good UI/ UX that doesn’t annoy people.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store