3 ms·
Yeah, but that's the important bit. After that you (probably) just need a few lines of code: import git import fs handle = fs.open('config.php', 'w
by ivanca 13y ago
Yeah, but that's the important bit. After that you (probably) just need a few lines of code:
import git
import fs
handle = fs.open('config.php', 'w+')
config = handle.read()
git.start('./')
git.auth('rsa_pub')
git.clone('git@github.com:foo/bar.git')
git.remove_untracked()
handle.write('config.php', config)