$ git clone -n https://gitee.com/aixan/keybinder3.git /var/lib/mock/dist-an8.6-build-94629-45467/root/chroot_tmpdir/scmroot/keybinder3 Cloning into '/var/lib/mock/dist-an8.6-build-94629-45467/root/chroot_tmpdir/scmroot/keybinder3'... $ git reset --hard 01a340c501452e9cb85b66f2cc9b63fb836b7dbd HEAD is now at 01a340c import keybinder3-0.3.2-4.el8.src.rpm