swremote.py 161 B

12345678910
  1. localrep = "/home/backup"
  2. remote_url = "https://git.cocorobo.cn/liushuai/CocoPi_upgrade.git"
  3. import git
  4. git.rw()
  5. git.swRemote(localrep, remote_url)
  6. git.ro()