$ git clone -n https://gitee.com/yangcheng1203/guestfs-tools.git /var/lib/mock/dist-an23-build-451504-73482/root/chroot_tmpdir/scmroot/guestfs-tools Cloning into '/var/lib/mock/dist-an23-build-451504-73482/root/chroot_tmpdir/scmroot/guestfs-tools'... $ git fetch origin d397bc544684ed0dc2987136dcf753f7a5ffb1f7:KOJI_FETCH_HEAD From https://gitee.com/yangcheng1203/guestfs-tools * [new ref] d397bc544684ed0dc2987136dcf753f7a5ffb1f7 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at d397bc5 Init package from upstream