$ git clone -n https://gitee.com/fe_zhang/switcheroo-control.git /var/lib/mock/dist-an23-build-238127-62846/root/chroot_tmpdir/scmroot/switcheroo-control Cloning into '/var/lib/mock/dist-an23-build-238127-62846/root/chroot_tmpdir/scmroot/switcheroo-control'... $ git reset --hard a70d5b7fc11932ff15acda23e8b070fff1438ddf HEAD is now at a70d5b7 Init package from upstream