blob: 0ba9e2559c152e4cba822ef8bd57a6be7c715167 (
plain)
1
2
3
4
5
6
7
8
|
#!/usr/bin/env python3
import configparser
gitconf = configparser.ConfigParser()
gitconf.read("/srv/www/docker-cgit/gitscripts.conf")
print("git remote add github https://%s:%s@github.com/%s/" % (gitconf.get("github", "user"), gitconf.get("github", "key"), gitconf.get("github", "user")))
|