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