git-auto
git-auto copied to clipboard
Check if script already running, make POSIX compliant, always pull push with -p
- Check if another instance of script is already running. Option
-ato bypass. - Also added
-moption for specifying commit message used for all commits. - Only pull if
-pis true (didn't make sense to me why would we want to pull if not pushing). Also with-p, now the script always pull push, since if there's no new commit then nothing changes, but if there was commit before the script run then it will be pushed, which was not the case before. - Option
-eto make a final commit/push upon exit.