$ git clone -n https://gitee.com/fundawang/gettext.git /var/lib/mock/dist-an23-build-312151-67129/root/chroot_tmpdir/scmroot/gettext Cloning into '/var/lib/mock/dist-an23-build-312151-67129/root/chroot_tmpdir/scmroot/gettext'... $ git fetch origin 29c5352d64036144a56763ab16a9528f488cec16:KOJI_FETCH_HEAD From https://gitee.com/fundawang/gettext * [new ref] 29c5352d64036144a56763ab16a9528f488cec16 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 29c5352 0.22.3