$ git clone -n https://gitee.com/fundawang/gmp.git /var/lib/mock/dist-an23-build-290929-64987/root/chroot_tmpdir/scmroot/gmp Cloning into '/var/lib/mock/dist-an23-build-290929-64987/root/chroot_tmpdir/scmroot/gmp'... $ git fetch origin 78e68adce9dc2685aa80cd52e7ce24f20c049364:KOJI_FETCH_HEAD From https://gitee.com/fundawang/gmp * [new ref] 78e68adce9dc2685aa80cd52e7ce24f20c049364 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 78e68ad 6.3.0