$ git clone -n https://gitee.com/zhonglingh/sane-backends.git /var/lib/mock/dist-an23-build-232342-62577/root/chroot_tmpdir/scmroot/sane-backends Cloning into '/var/lib/mock/dist-an23-build-232342-62577/root/chroot_tmpdir/scmroot/sane-backends'... $ git reset --hard 4eb053758f5821efa1263745a50d5383ee7bdf45 HEAD is now at 4eb0537 Init package from upstream