$ git clone -n https://gitee.com/cobratoxin/quota.git /var/lib/mock/dist-an8.7-build-226889-62190/root/chroot_tmpdir/scmroot/quota Cloning into '/var/lib/mock/dist-an8.7-build-226889-62190/root/chroot_tmpdir/scmroot/quota'... $ git reset --hard 2b738675a8edb78be40b02b7b2dac000c281eee3 HEAD is now at 2b73867 update to quota-4.04-14.el8