$ git clone -n https://gitee.com/happy_orange/rrdtool.git /var/lib/mock/dist-an23-build-217956-62028/root/chroot_tmpdir/scmroot/rrdtool Cloning into '/var/lib/mock/dist-an23-build-217956-62028/root/chroot_tmpdir/scmroot/rrdtool'... $ git reset --hard cbd84ef78c342bd72914a48228e743b8d35d5300 HEAD is now at cbd84ef init package