Skip to content

Instantly share code, notes, and snippets.

@patricksimpson
Created December 7, 2012 20:58
Show Gist options
  • Save patricksimpson/4236445 to your computer and use it in GitHub Desktop.
Save patricksimpson/4236445 to your computer and use it in GitHub Desktop.
git tfs pull and rebase.
#!/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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment