$ git clone -n https://gitee.com/wz002/gcab.git /var/lib/mock/dist-an23.3-build-414198-72836/root/chroot_tmpdir/scmroot/gcab Cloning into '/var/lib/mock/dist-an23.3-build-414198-72836/root/chroot_tmpdir/scmroot/gcab'... $ git fetch origin 3fc193560d9cded5a746415cebe57465798e59fb:KOJI_FETCH_HEAD From https://gitee.com/wz002/gcab * [new ref] 3fc193560d9cded5a746415cebe57465798e59fb -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 3fc1935 update to gcab-1.6-7