Created
July 24, 2019 17:27
-
-
Save nkthiebaut/64400066939857469ecf0bb3d1193250 to your computer and use it in GitHub Desktop.
Commit applescript
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
on run | |
set result to text returned of (display dialog "Enter github password:" default answer "" with hidden answer) | |
do shell script "cd /Users/nicolas/Google\\ Drive/notes && git add . && git commit -m new_commit && git push https://nkthiebaut:" & result & "@github.com/nkthiebaut/notes.git" | |
say "Notes successfully committed and pushed" | |
end run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment