? Configuration files downloaded automatically in hourly basis to the 3rd party server, I have configured the folder where the files downloaded on it as local Repo.
? Recently, a git schedule created to check the differences between the existing files with the new downloaded files as below
cmd /c ""C:Program FilesGitinash.exe" --login -i -- D:est.sh"
D:est consist the following commands
cd d:/repo
git diff -U3 | tail +3
? The above task created using windows Task Scheduler to difference between the existing files and new files, the results appear as shown in below example diff
alias Eth-Trunk3
-interface LoopBack0
+!interface LoopBack0
alias LoopBack0
Using git bash, how can send an automatic email for all the changes that appear above in hourly basis, what I mean is after the scheduler executed and appear differences I need to send all the differences to appear by email.
question from:
https://stackoverflow.com/questions/65846612/send-automatic-email-for-diff-results-in-git-bash 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…