Run batch file with git pull in gitbash
I have the following problem. I want to write a batch file and run this file every day on vm.
I have an ssh key to the vm, so if I manually write "git pull" in gitbash, I won't write the password after that.
Now I want to write a script in a batch file that will do this automatically.
c://TESTS/test/tes
- I only want to pull one folder from the repo.
I don't know how to create a script like this. Any ideas?
+3
source to share