$ git clone -n https://gitee.com/wangpingping000/kbd.git /var/lib/mock/dist-an23-build-182804-60139/root/chroot_tmpdir/scmroot/kbd Cloning into '/var/lib/mock/dist-an23-build-182804-60139/root/chroot_tmpdir/scmroot/kbd'... $ git fetch origin fb04a7eda4a3ebc3dec7cbb70b9a3af17c818ca1:KOJI_FETCH_HEAD From https://gitee.com/wangpingping000/kbd * [new ref] fb04a7eda4a3ebc3dec7cbb70b9a3af17c818ca1 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at fb04a7e update to 2.5.1