#!/bin/bash
now=$(date +"%m_%d_%Y")
cd /e/DB_Structure_VersionControl
git add .
git commit . -m "Automatic Nightly Commit $now"
From Windows you could start this with something like
sqlps -Command "&{C:\scripts\dbvc\dbvc.ps1}"
"C:\Program Files\Git\bin\sh.exe" --login -i -- C:\scripts\dbvc\vcbash
Comments
Post a Comment