Created
March 31, 2017 16:38
-
-
Save jhazelwo-charter/bc161c162fffd156f9a4db9ce7a884ad to your computer and use it in GitHub Desktop.
A 1-button git add, commit and push Powershell script using the Windows GitHub client.
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
$env:Path += ";C:\Users\me\AppData\Local\GitHub\PortableGit_f02737a78695063deace08e96d5042710d3e32db\cmd" | |
. C:\Users\me\AppData\Local\GitHub\PoshGit_73b8bf9c588df6d17c193e270da0ed4cf890d868\GitUtils.ps1 | |
Start-SshAgent -Quiet | |
Add-SshKey C:\Users\me\.ssh\github_rsa | |
cd C:\Users\me\Art\docs\ | |
git add -A . | |
git commit -m 'auto' | |
git push -u origin master | |
cd C:\Users\me\Art\sh\ | |
git add -A . | |
git commit -m 'auto' | |
git push -u origin master | |
Stop-SshAgent |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Actually file download below
download