So as pointed out its rather annoying to type your password in 50 times, and most people won't bother creating a script to export the git password variable.

A quick solution I found was this:

yes "password" | path/to/script

yes will repeatedly echo the same thing forever! thank god for loops.


Calvin