$ git clone -n https://gitee.com/renping000/gsm.git /var/lib/mock/dist-an7_9-updates-build-188038-60696/root/chroot_tmpdir/scmroot/gsm Cloning into '/var/lib/mock/dist-an7_9-updates-build-188038-60696/root/chroot_tmpdir/scmroot/gsm'... $ git fetch origin c0bd2bf23fb6de294d4f4928b9cc12eee9d6fcb9:KOJI_FETCH_HEAD From https://gitee.com/renping000/gsm * [new ref] c0bd2bf23fb6de294d4f4928b9cc12eee9d6fcb9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c0bd2bf update to 1.0.22