Closed jamezpolley closed 5 years ago
My idea for where to take this next is to colorize output - green for normal output, orange if something changes (eg, a git pull gives something other than "nothing to pull", red for errors.
Looks good, sounds good, thank you!
Add a __log_msg() helper function, and use this instead of echo to more consistently have output lines starting with "git-sync: "
If git-sync is being run non-interactively, being told that the repo is in .git is not very informative. Explicitly look in $PWD so that the output includes $PWD