$ git clone -n https://gitee.com/zhonglingh/sane-airscan.git /var/lib/mock/dist-an23-build-235736-62777/root/chroot_tmpdir/scmroot/sane-airscan Cloning into '/var/lib/mock/dist-an23-build-235736-62777/root/chroot_tmpdir/scmroot/sane-airscan'... $ git reset --hard 121ff48aaf40d0855e6d6f3d19344e5f95a41e9e HEAD is now at 121ff48 Init package from upstream