Created
December 7, 2012 04:02
-
-
Save patricksimpson/4230677 to your computer and use it in GitHub Desktop.
Ultra lazy git tf push!
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
#!/usr/bin/expect | |
set username "your.name" | |
set password "yoursupercoolpassword" | |
spawn git tf pull --rebase | |
expect "Username:"; | |
send "$username\n"; | |
expect "Password:"; | |
send "$password\n"; | |
interact | |
spawn git tf checkin | |
expect "Username:"; | |
send "$username\n"; | |
expect "Password:"; | |
send "$password\n"; | |
interact |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment