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