$ git clone -n https://gitee.com/zhonglingh/sane-backends.git /var/lib/mock/dist-an23-build-232887-62627/root/chroot_tmpdir/scmroot/sane-backends Cloning into '/var/lib/mock/dist-an23-build-232887-62627/root/chroot_tmpdir/scmroot/sane-backends'... $ git reset --hard 976c7a8ad0fd52d7477162d9b8baa2423102939e HEAD is now at 976c7a8 Init package from upstream