This file contains hidden or 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
static { | |
final String authUser = "XXXXX"; | |
final String authPassword = "XXXXXX"; | |
Authenticator.setDefault( | |
new Authenticator() { | |
public PasswordAuthentication getPasswordAuthentication() { | |
return new PasswordAuthentication( | |
authUser, authPassword.toCharArray()); | |
} | |
} |
This file contains hidden or 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
git config --global alias.up '!git remote update -p; git merge --ff-only @{u}' | |
#!/bin/sh | |
for repo in repo1 repo2 repo3 repo4; do | |
(cd "${repo}" && git checkout master && git up) | |
done |
OlderNewer