Le 05/12/2011 21:20, Timothy Pearson a écrit : > This is one of GIT's more irritating limitations. What I ended up doing > was creating a bash script "gitpass" in my home directory like this: > > #!/bin/bash > echo "<mypassword>" > > For anonymous usage "<mypassword>" can be replaced with "". > > Mark the script executable (chmod +x ~/gitpass), then export the > GIT_ASKPASS variable in the terminal you will be pulling the sources in > like this: > > export GIT_ASKPASS=~/gitpass > > Then run the ./scripts/switch_all_submodules_to_head_and_clean script from > that terminal, and GIT shouldn't bug you for a password. > > I might be able to incorporate something like the above into the checkout > script, but for now this manual procedure should get you going. Thanks a lot. I found a simple way to do it: export GIT_ASKPASS=/bin/echo ./scripts/switch_all_submodules_to_head_and_clean -- Laurent Dard