$ git clone -n https://gitee.com/zhoujiajia111/libshout.git /var/lib/mock/dist-an23.2-build-429664-73034/root/chroot_tmpdir/scmroot/libshout Cloning into '/var/lib/mock/dist-an23.2-build-429664-73034/root/chroot_tmpdir/scmroot/libshout'... $ git fetch origin c1ff2dac50cef99a38f9c9011df6be3e229abcd9:KOJI_FETCH_HEAD From https://gitee.com/zhoujiajia111/libshout * [new ref] c1ff2dac50cef99a38f9c9011df6be3e229abcd9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c1ff2da update libshout.spec.