Advertisement
Guest User

Script to full-sync your AshitaCast files to a code repo.

a guest
Jan 22nd, 2019
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.29 KB | None | 0 0
  1. @echo off
  2. set ASHITACASTDIR=C:\Ashita3\config\ashitacast\
  3. set GITREPODIR=C:\youlocalrepohere
  4. pushd .
  5. cd %GITREPODIR%
  6. git checkout master
  7. git pull
  8. xcopy /f /y %ASHITACASTDIR%\*.xml %GITREPORDIR%
  9. git add --all
  10. git status
  11. git commit -m "Regular XML Update"
  12. git push
  13. popd
  14. echo "Done."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement