Page 1 of 1

How to automatically commit any changes inside a folder

PostPosted: Tue Jan 02, 2018 12:34 pm
by nikivi
I want to make a rule that will run this bash script:

```
git add .
git commit -m "Changes"
git push
```

Whenever any file was changed in the folder? Specifically I want to watch all folders inside that folder for changes. Can I do it?

Thank you for any help.

Re: How to automatically commit any changes inside a folder

PostPosted: Wed Jan 03, 2018 12:04 pm
by Mr_Noodle
As a developer, while I don't condone committing things like that, check out this thread: http://www.noodlesoft.com/forums/viewto ... 1593#p6500

That pertains to syncing but the conditions in that rule match when anything in a folder or below has changed.