$ git clone -n https://gitee.com/src-openeuler/libIDL.git /var/lib/mock/roe1-build-4174-1194/root/chroot_tmpdir/scmroot/libIDL Cloning into '/var/lib/mock/roe1-build-4174-1194/root/chroot_tmpdir/scmroot/libIDL'... $ git reset --hard 348fc02aa6fc338852414377d64034bd86d95f88 HEAD is now at 348fc02 update code