Created
November 17, 2016 15:50
-
-
Save SpaceShot/25c5df352fc70e953b06bebe1ae58824 to your computer and use it in GitHub Desktop.
Git Live updates with PowerShell
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
# could make this an argument | |
cd C:\testing\poems | |
DO | |
{ | |
clear | |
# could use where to figure out where git is instead of hardcoding | |
C:\Users\cgomez\AppData\Local\GitHub\PortableGit_284a859b0e6deba86edc624fef1e4db2aa8241a9\cmd\git.exe log --oneline | |
Start-Sleep -s 1.4 | |
} | |
WHILE (1 -eq 1) |
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
# could make this an argument | |
cd C:\testing\poems | |
DO | |
{ | |
clear | |
tree /F | |
"*******************************" | |
# could use where to figure out where git is instead of hardcoding | |
C:\Users\cgomez\AppData\Local\GitHub\PortableGit_284a859b0e6deba86edc624fef1e4db2aa8241a9\cmd\git.exe status | |
Start-Sleep -s 1.4 | |
} | |
WHILE (1 -eq 1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment