Last active
December 4, 2020 19:41
-
-
Save DavideC03/601a941bc4950d1ff71b98619ee46737 to your computer and use it in GitHub Desktop.
Run the code if there is a GitHub update available
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# By Davide Castellani (help@castellanidavide.it) | |
if (-Not ((git pull <github_repositository_path> <main/master>) -Match "Already up to date.")) | |
{ | |
echo "Start other processes" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Added the possibility to made pull for only a branch