How to automatically commit any changes inside a folder

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

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.
nikivi
 
Posts: 39
Joined: Tue Mar 08, 2016 10:04 am

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.
Mr_Noodle
Site Admin
 
Posts: 11872
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support